When developing on my system I like to use only one version of the core files. If I update the core files from svn it gets updated for all apps I'm working on.

The way I'm using this is explained below:

If you use a setup like I explained in my previous post calling the bake script involves a lot of typing with the core and app parameter paths.

If I want to call the bake script from the /Users/mwesten/Sites/dev/myapp cake app folder, it has to be done like this:

As cakebaker states:

The use of "Model/field" in the formhelper has been deprecated in CakePHP 1.2. In CakePHP 1.1 you would call:


Othman Ouahbi has a very nice example on his blog on creating automatic updating select-boxes with Ajax.
If you change the first select-box, it updates the next selectbox accordingly.

Ahsanul Bari created a nice list of links to articles on the use of Ajax in CakePHP. Some of the parts covered are:

  • Getting Started
  • AutoComplete
  • Ajax Redirect
  • Ajax Validation
  • Encoding
  • Ajax Uploader