CakePHP Bake is a tool for automatically generating application, skeletons and boilerplate code. It uses a pre-existing database schema to infer the correct data relations and data types and using that to generate a full set of controllers, model object and view templates.