How to use multiple AppModels?
CakePHP supports just one custom AppModel, which must be placed in the /app folder. If you place another AppModel in the app folder and you try to extend your model from that AppModel, you get a “Class not found” error. To avoid that error you simply have to add a require statement at the top of your model:
require(APP . 'my_special_app_model.php');
class MyModel extends MySpecialAppModel
{
}
The same approach works also for AppControllers.




Wonderful idea cakebaker! I used your example to show how to use object-oriented inheritence with cakePHP models. Here’s my blog post about it: http://www.miphp.net/blog/view/how_to_use_inheritance_for_cake_models
I am glad it was useful for you :)