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:
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?
Post a Comment