CHAPTER 14DataSources and Behaviors

Cake's core set of resources strictly adhere to the MVC paradigm, meaning that all output is configured by the view, all data handling is managed by the model, and all business logic is handled by the controller. At this point, however, you're aware of how much the model, view, and controller work together to run as an application. The view doesn't act alone without the controller providing needed variables, the controller doesn't process its logic without the help of the model, and so on. The degree to which these resources work together depends on the unique processes employed by the application. Because the MVC elements work together (more or less simultaneously), you could possibly manipulate one element ...

Get Beginning CakePHP: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.