
Search In
CakePHP 2
CakePHP is basically a rapid developing framework for PHP. It provides the user a flexible architecture to develop, maintain, and deploy the application .
In CakePHP within the convention over configuration paradigm, we basically used the
Before SQL Server 2005, the only practical way to trap errors in SQL was using the old-fashioned @@error system variable. Although this is still supported, in this blog we will learn how to use TRY-CATCH for handling errors.TRY-CATCH block is simila
Difference Between nil?, empty? and blank? in Rails :-
To understand the difference between these three methods you have to look at each of them individually.
In Ruby nil? is a standard method that can be called on all objects and returns true for
Sometimes while using apt-get command to install some packages, we come across an error like:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is
If you want to add client side validation in your web project using jQuery instead of server side validation like PHP, ASP.NET and JSP, then You have to include jQuery validate library in the head section of HTML.
jQuery library offer customize vali
In order to include the content of another PHP page in the current PHP page we can use two methods provided by PHP which are:
include()
require()
With the above two methods we can make HEADER, FOOTER, FUNCTIONS when user is working on another p
hi all i am use tomcat 8 and my war file initially i want write a file a .properties file, here the code:
Boolean wflag = false;
String wnomfile="my.properties"
Properties prop = new Properties();
OutputStream output = null;
System.out.println(
Below is a form which contain id field, name field, phone number filed, gender radio button and we are sending these data by using post method.
<form name="user_registration" method="post" >
Name: <input type="text" name="Name"&g


What is a Template engine?
Template Engines are the tools which help you split the program logic and presentation logic. It also assists in separating both the logics into two independent parts. It is always better to separate your presentation logi
Call stored procedure in JPA : Here I am going to tell you that how you can call the stored procedure using JPA entity manager. Following is the example to call stored procedure using entity manger.
Suppose we have a stored procedure called 'get_log
