<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 21:17:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Front Controller Plugins in Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9971</guid>
      <link>http://www.phpdeveloper.org/news/9971</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3372-Front-Controller-Plugins-in-Zend-Framework">new article</a> that examines one of the key components to just about any framework out there - the front controller.
</p>
<blockquote>
Like <a href="http://devzone.zend.com/article/3350-Action-Helpers-in-Zend-Framework">Action Helpers</a>, which I've discussed in a previous article, Front Controller Plugins in <a href="http://framework.zend.com/">Zend Framework</a> 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.
</blockquote>
<p>
The article (from <i>Matthew Weir O'Phinney</i>) 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.
</p>]]></description>
      <pubDate>Tue, 15 Apr 2008 07:58:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: A little bit more about Zend_Controller plugins]]></title>
      <guid>http://www.phpdeveloper.org/news/6463</guid>
      <link>http://www.phpdeveloper.org/news/6463</link>
      <description><![CDATA[<p>
In his <a href="http://www.alexatnet.com/Blog/Index/2006-10-09/a-little-bit-more-about-zend_controller-plugins">latest post</a>, <i>Alexander Netkachev</i> digs a little deeper into the Zend Framework and looks at the Zend_Controller class and its plugin support.
</p>
<blockquote>
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.
</blockquote>
<p>
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 <a href="http://www.alexatnet.com/Blog/Index/2006-10-09/a-little-bit-more-about-zend_controller-plugins">looks in detail</a> at this last class, showing how it helps to handle incoming requests for the plugin functionality and veen includes working code you demonstrate how.
</p>]]></description>
      <pubDate>Tue, 10 Oct 2006 08:18:00 -0500</pubDate>
    </item>
  </channel>
</rss>
