This blog is about the PHP solutions I have to think of when I'm developing systems almost every single day...

Wednesday, April 2, 2008

Bake it quick

Even though I've been using cakephp for over 2 weeks already, but I've only just discovered that you can actually bake very quickly just by typing:


./cake bake all

in your cake/console directory. It will create your model, controls and views all in one shot. But only for one model. But it's much easier than how I usually do it (through the menus).

1 comments:

mollie21 said...

hello,
I have some problem with bake cake.
Every time I use cake on my console, it always shows error report that it can't find the DATABASE_CONFIG class.
Although I have run my web with cake normally before.
Have any idea about this?