News Feed

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

Zend Developer Zone:
Front Controller Plugins in Zend Framework
April 15, 2008 @ 07:58:52

On the Zend Developer Zone, there's a new article that examines one of the key components to just about any framework out there - the front controller.

Like Action Helpers, which I've discussed in a previous article, Front Controller Plugins in Zend Framework are often considered an esoteric, advanced subject. They are, however, remarkably simple to implement, and provide an easy way to extend the functionality and behavior of your entire web application.

The article (from Matthew Weir O'Phinney) looks at the hooks defined in the controller, like routeStartup and preDispatch, and how to work with the controller to add in/get plugins from it. He provides a two examples too: Application Initialization Plugin and a Caching Plugin.

0 comments voice your opinion now!
zendframework front controller hook route dispatch

blog comments powered by Disqus

Similar Posts

Richard Lord's Blog: Zend_View helpers in include path

Robert Basic's Blog: A hack for Zend Framework’s translated route segments Ajax, ZF and Smarty feed reader - part 1

Master Zend Framework: Change Layout in Controllers and Actions in Zend Framework 2 Introducing Action Helpers

Community Events

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

code unittest introduction interview laravel language testing symfony2 refactor developer threedevsandamaybe install podcast framework series release list experience community opinion

All content copyright, 2014 :: - Powered by the Solar PHP Framework