Sunday, 26 May 2013

What is Scaffolding ?

in the previous tutorial Creating To Do list Application in CakePhP we have used a variable var $scaffold well almost everyone of you would be wondering what was that and why did we used it well answer is very simple. For CRUD (Create, Replace, Update, Delete) operations we used this variable. Once we inserted this variable in our controller we got the full fledge functionality of having the CRUD functionality in our Application. 

Cakephp scaffolding is very cool and it gives you the crud availability in minutes so you don't have to write really large code for everything.

To add the scaffold to your application you just have to paste this code in your controller section as shown below
 class CategoriesController extends AppController {  
   var $scaffold;  


Post a Comment

Enter your Comments about this post