News Feed
Sections




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

WebReference.com:
Controllers Programming Application Logic - Part 2
October 06, 2008 @ 10:26:18

WebReference.com has the second part of their CakePHP introductory series posted, this time focusing on the actions in the controllers.

They talk (briefly) about how the call to the page is passed off to the controller's action and how you can get more information into it via POSTed values.

There's also a look at redirection, from action to action in a controller (or even to another one) and a look at a very handy method of sharing functions between the child controllers - a "master" parent controller (in their case, AppController).

At the end, they throw in a bit about components - module and reusable bits of functionality that can be passed around from controller to controller, action to action.

This series of articles are excerpts from the Packt book CakePHP Application Development.

0 comments voice your opinion now!
cakephp framework programming controller action component redirect master


blog comments powered by Disqus

Similar Posts

PHP-Coding-Practices.com: Making CakePHP's Pagination work with Model::expects()

Davey Shafik's Blog: ZCEGuide.com Deadline Fast Approaching

Debuggable Blog: How to Group By in CakePHP's new release Part 2

Matt Curry's Blog: 6 More Questions With Nate Abele - Lead Developer of CakePHP

Jonathan Snook's Blog: Zend Framework: First Impressions


Community Events

Don't see your event here?
Let us know!


example opinion php7 series laravel security laravel5 language interview extension release community introduction voicesoftheelephpant api podcast library list framework version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework