cakePHP: Baking the Controllers & Views
After baking the models the next step is to bake the controllers.
This is very similiar you just chose C at the main menu and then go through the questions asked. You should not choose to build your controller interactively because then some basic functionality can be added automatically (Choose “Yes” on the next question). Adding admin routing is a good idea. If you are asked to enter a path for the admin routing stick with “admin” - the admin views will be named “admin_view.ctp” then. Admin views are handy because you can edit the regular methods and keep the functionality to easily edit anything in the database with the admin methods.
After you have baked all your controllers its time to bake the views. Again - same procedure:
Now it’s time to have a look at your folders. In the controllers folder of your app you will finde all the controllers we just baked and in the views folder of your app you will find severl subfolders each filled with the views we just baked (and also the “admin_” views if you have chosen to create them). Believe it or not, your website has its full fundamental functionality already at this point! What follows now is just tweaking and designing… well, almost!

