Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebReference.com:
Controllers: Programming Application Logic
Sep 29, 2008 @ 13:43:39

In this new tutorial from WebReference.com Ahsanul Bari walks you through one of the core parts of any application made in the CakePHP framework - the controllers.

Controller, the name suggests its job—it controls, supervises, and manages. In CakePHP, controllers are the classes that handle browser requests and facilitate communication between models and views. It is the central hub where application logics are defined to control program flows of browser requests.

He talks about actions, working with models and interacting with views to pass the requested information out to the user. He also shows how to pass in parameters to the controller to give your application a bit more customization.

tagged: controller cakephp framework model view application tutorial

Link:


Trending Topics: