Sunday, January 22, 2017

What is Scaffolding

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 dont 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
 <?php 
class CategoriesController extends AppController {
var $scaffold;
}
?>


Go to link Download

No comments:

Post a Comment