23 09, 2015

How to Remove Empty Objects From Array In CakePHP

2016-06-24T09:35:38+00:00September 23, 2015|Mobile, PHP Frameworks, Salesforce, Web Development, Zoho|0 Comments

|
| ByWebner

In CakePHP, to remove empty or ‘false’ values from an Array, use CakePHP’s static ‘filter’ method contained in ‘Hash’ class: $sampleArray = [ , false, true, 0, ['one, 'two, 'three’] ] $sampleArray = Hash::filter($sampleArray); Here’s the array after filter method [...]

24 08, 2015

Digital Signature using Zoho Creator

2018-02-08T05:53:13+00:00August 24, 2015|Web Development, Zoho|0 Comments

|
| ByWebner

Digital signatures/online signatures, as we all know, play a very important role in online industry. The simple idea of using a digital signature results in reducing the paperwork and saves time.  Zoho Creator has provided “signature” feature for online signing [...]

7 03, 2015

Connection Pool with Tomcat6 and Mysql

2018-02-08T05:55:00+00:00March 7, 2015|Database, Java Frameworks, Web Development|0 Comments

|
| ByWebner

Inside $tomcat_home/conf/context.xml add this inside <Context> <Resource name=”jdbc/datasourcename” auth=”Container” type=”javax.sql.DataSource” maxActive=”100″ maxIdle=”30″ maxWait=”1000″ username=”dbuser” password=”dbpwd” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/exodus”/> Now restart tomcat Inside you web.xml add this before </web-app>: <resource-ref> <description>My DB Connection</description> <res-ref-name>jdbc/datasourcename</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> Java code to connect: Context [...]

2 03, 2015

Send email using gmail in Perl

2018-02-08T05:59:51+00:00March 2, 2015|Web Development|0 Comments

|
| ByWebner

Here’s sample code to send email via Gmail SMTP server, which uses TLS (transport layer security): #!/usr/bin/perl -w use Net::SMTP::TLS; my $mailer = new Net::SMTP::TLS( 'smtp.gmail.com', Hello => 'smtp.gmail.com', Port => 587, User => 'gmail userid', Password=> 'gmail password'); $mailer->mail('from@domain.com'); [...]

28 02, 2015

Android Jumble Challenge

2017-05-25T06:48:44+00:00February 28, 2015|Web Development|0 Comments

|
| ByWebner

Jumble Challenge has seen a really good start with more than 115 downloads in initial few days of launch. If you like to unjumble words this is the game for you. With 3 different levels Jumble Challenge is ideal for [...]

24 02, 2015

SCEA 5 – My 2 cents

2016-06-27T10:47:38+00:00February 24, 2015|Java Frameworks, Web Development|0 Comments

|
| ByWebner

I recently became SUN certified Enterprise Architect after clearing all 3 parts of SCEA. It is hard to get answers to all questions one may have regarding SCEA but SCEA forum on javaranch.com is great!! I have shared my experience [...]

Go to Top