News Feed
Sections




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

Padraic Brady's Blog: Zend Framework: Surviving The Deep End Book - Chapters 4, 5, 6, 7 and Appendix

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 7: Zend_View Enhanced

Michelangelo van Dam's Blog: Unit testing with Zend Framework 1.8+

Developer Tutorials: Zend Framework Tutorial

Daniel Cousineau's Blog: Quickie: Module-specific Error Controllers in Zend Framework (1.5)


Community Events





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


podcast interview bugfix zendserver unittest introduction voicesoftheelephpant package opinion install framework release api language library laravel community series deployment symfony

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