
Search In
We can use Auth component in cakephp for authentication and authorization objects. Since it easy and secure way to do this.
Write following in your App controller
public $components = array(
'Auth' => array('loginAction' => a
Sometime we may need to use the same variable name that you are using in the query or simply in an associative array.
Lets say you have an associative array :
$arr = array( 'totalLimit' => 50, 'limit' => 10 );
The usually what we do is to f
Texture Packer is a wonderful program to create Sprite Sheet with in seconds for different data format like, cocos2d & Unity3D.
Its not a free program but Texture packer's demo version works pretty well too.If you are a 2d animator & creating
Virtual Machine (VM)
Definition - What does Virtual Machine (VM) mean?
A virtual machine (VM) is a software program or operating system that not only exhibits the behavior of a separate computer, but is also capable of performing tasks such as runn
Best approach for Image loading in iOS apps
Best way to load Images in iOS apps than image sync.
Download SDWebImage framework and Unzip it.
**Steps to follow**:-
Step 1. Add SDWebImage framework into your project. On Project navigator Click>>
Please go through the below details to create a Task Scheduler. It can be done by two ways either creating console application, windows application or creating a window service. What I have done is created a windows application and schedule the ta
If we are using storyboards we can handle different sizes by creating different storyboards for iPhone 4 and iPhone 5 and handle them in didFinishLaunching method of AppDelegate in this way :
Here for iPhone 4 we have storyboard named "Main_iPhone_4
Here is a simple way to validate user name and password in an HTML form using java script.
<html>
<head>
<title>
Login page
</title>
</head>
<body>
<h1 style="font-family:Arial;text-align="center";font-size:20
Migeration in SQl Server :
There are several options if one wishes to migrate a database from a SQL Server 2005 to SQL 2008 Server. First of all transferring a database from any version of SQL Server 2000 and above to 2008 version. This Wizard can
The delegate method can be used in two ways:-
If we have a parent element, and we want to attach an event to each one of its child elements, this delegate() method is used.
Ex: Un-ordered List
Instead of attaching an event to each element, we
