Execute code in model callbacks based on controller actions

I think it happens pretty often, that you need to run some code in a given model’s callback, but only

Read more

Changing model's table from the controller

For one reason, or another you might wish to change your Model’s table on the fly… It would seem that

Read more

Fatten up your Models

CakePHP models, unlike super models should be fat. It’s a good practice to keep redundant code out of your controllers.

Read more
%d bloggers like this: