Scaffolding Tip for CakePHP

I’m evaluating CakePHP for possible use in a project, and I had a dickens of a time getting the scaffolding working at first.

I already had some code written on this particular project1, as well as a rather complex relational database schema, etc. so I was trying to fill in all the models and controllers at once and get it all working.

When trying to do everything at once and for the first time, it was too hard to figure out what was breaking if something didn’t work. When I started fresh on a new database and added everything in one table at a time (hooking it all together as I went), everything went pretty smoothly and I now have working scaffolding.

Just a tip for anyone else thinking of porting a partially finished project to a framework like CakePHP.

  1. Code that dates back a year or so… it’s been on the back burner for a while. [back]