Cakephp Baking

post_id: 55 / post_date: 2011-06-11



Baking is the way of generating code in cakephp.
You can bake anything from plugins to views.
First create the tables needed. based on where the cake bake command is invoked, the baker automatically connects to the default db configured in app/config and prompts what to bake.
Logically, baking is done in this order. Model, Controller, Views.

See a quick tutorial here or view the original screencast (with ads) or on youtube.

To bake plugins, see here.