News Feed
Sections




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

Alexander Netkachev's Blog:
A little bit more about Zend_Controller plugins
October 10, 2006 @ 08:18:00

In his latest post, Alexander Netkachev digs a little deeper into the Zend Framework and looks at the Zend_Controller class and its plugin support.

Zend_Controller_Plugin is not covered yet in the documentation but it is a powerful way of extending a controller. Briefly, Zend_Controller_Plugin is used for extending controller functionality by attaching listeners to events, which are fired (or trigged) by the controller classes.

He talks about the plugin interface, how it hooks into the controller and defines the relationship with some pseudo-code (showing implements versus extends). There's talk of the Zend_Controller_Plugin_Broker class and the Zend_Controller_Front. He looks in detail at this last class, showing how it helps to handle incoming requests for the plugin functionality and veen includes working code you demonstrate how.

0 comments voice your opinion now!
zend framework plugin controller broker dispatch tutorial zend framework plugin controller broker dispatch tutorial


blog comments powered by Disqus

Similar Posts

International PHP Magazine: Poll: Which One of the Following Makes CodeIgniter the Best Framework?

Developr.com: Do Frameworks Fail? When?

DevShed: Defining a Model Class for Handling Views with CodeIgniter

HowTo Forge: Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6

Zend Developer Zone: Reading and Writing MP3 and Photo Metadata with PECL


Community Events





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


introduction development release tips code framework laravel community podcast developer api zendserver deployment application language series interview conference threedevsandamaybe list

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