News Feed
Sections




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

MaltBlue.com:
Why Zend Framework Plugins Save You Time
July 05, 2012 @ 11:44:41

On the MaltBlue.com blog today there's a new post talking about Zend Framework plugins and how they can help save you time in the long run, giving you more time and flexibility to create the applications you want.

During the recent development of the new PHP cloud development casts site, which has been developed with the Zend Framework, so much development time has been saved by using one of the simplest and arguably best features of the framework: Controller Plugins. So today I want to introduce you to them and walk you through a working plugin so you can see just how effective and efficient they can make your development workflow.

He starts with a look at the events that fire in the process of plugin execution (including "routeStartup" and "preDispatch") and as well as some common uses like inserting code at the end of a request automatically or redirecting a user if they're not logged in. Included in the post is a simple code example showing the setup of a simple plugin that redirects the user to the "/index/index" path if they're not already there.

0 comments voice your opinion now!
zendframework plugin tutorial events


blog comments powered by Disqus

Similar Posts

GoodPHPTutorials.com: Integrating the Authorize.Net AIM API with PHP

Matthew Weier O'Phinney's Blog: A Simple Resource Injector for ZF Action Controllers

Jim Plush's Blog: Rethinking the Zend Models

Robert Basic's Blog: A Zend Framework 2 EventManager use case

Tim Koschuetzki's Blog: How To Transform HTML To Textile Markup - The CakePHP TextileHelper Revisite


Community Events

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


example framework introduction php7 version symfony2 api release laravel community install conference extension performance voicesoftheelephpant library opinion podcast series interview

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