Thursday, April 7, 2011

generate scaffolding as code in cakephp

I have a cakephp app with some controllers using scaffolding for the logic and views... How can I make cake actually generate those as files and functions in my project that I can then modify and take ownership of...

It's nice to have this stuff as a starting point, but it can't be true that I need to start basically from scratch if I want to change the model properties that are exposed on the scaffold generated list page.

From stackoverflow
  • You you can bake the code using the cake console script. It's all explained in the cookbook

    danb : you beat me. that's just what I was looking for

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.