Posts tagged: CakePHP

CakePHP notes part 001

Below are my personal notes from the highly recommended book Beginning CakePHP: From Novice to Professional by David Golding.

Naming Files and Designing the Database

  • CakePHP (hereinafter referred to simply as Cake) is essentially a large PHP object that provides a set of tools.
  • MVC (Model-View-Controller) Behaviours

    • An object is automatically assembled for each part of the structure.
    • All requests are first funneled through the controller object.
    • In the model, when a record is saved to the db, certain functions are executed first, and you can intercept this default behavior by entering the beforeSave() function in the model. Read more »

WordPress Themes