<?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>Tue, 08 Jul 2008 23:05:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SaniSoft Blog: Code sniffs for CakePHP and then some more]]></title>
      <guid>http://www.phpdeveloper.org/news/10546</guid>
      <link>http://www.phpdeveloper.org/news/10546</link>
      <description><![CDATA[<p>
On the SaniSoft blog <i>Tarique Sani</i> has <a href="http://www.sanisoft.com/blog/2008/07/04/code-sniffs-for-cakephp-and-then-some-more/">posted about</a> (and made available for download) some code sniffs for the CakePHP framework. Some problems arose with some of the naming that the framework uses, but with some "tinkering around"...
</p>
<blockquote>
[It became] apparent that I had to have my own set of Cake sniffs to manage this but a separate standard just for this seemed an over kill and the simplicity of code made it kind of fun to add more standards which I liked but were in different set of sniffs.
</blockquote>
<p>
You can grab the whole list of sniffs from <a href="http://www.sanisoft.com/downloads/cakephp_sniffs/">their downloads</a>. They implemented them as a pre-commit hook on their SVN server even so that developers could not violate the coding standards when they submit their code.
</p>]]></description>
      <pubDate>Fri, 04 Jul 2008 09:32:00 -0500</pubDate>
    </item>
    <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>
  </channel>
</rss>
