<?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, 24 May 2013 15:14:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Play nice when extending Exception]]></title>
      <guid>http://www.phpdeveloper.org/news/16397</guid>
      <link>http://www.phpdeveloper.org/news/16397</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> <a href="http://pooteeweet.org/blog/0/1932#m1932">has a suggestion</a> for developers out there who get the idea to start messing with the order of the parameters of PHP objects/methods - play nice. His example is specifically with Exceptions.
</p>
<blockquote>
This is just a short follow up to a recent tweet of mine. I have seen this repeatedly happen, even to top notch and usually very careful developers (*). I am not sure why this mistake happens so frequently, but quite often you see code that changes the parameter order for custom Exception constructors. I guess it's mostly because in these cases the developer wants to pass some magic parameters that contain the message (and potentially also the code). 
</blockquote>
<p>
He recommends that, if you really do need to change something like the order of the parameters, use something like a <a href="http://en.wikipedia.org/wiki/Factory_method_pattern">factory</a> to handle the reorganization for you.
</p>]]></description>
      <pubDate>Mon, 30 May 2011 09:48:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: ZF Subversion Reorganization]]></title>
      <guid>http://www.phpdeveloper.org/news/10254</guid>
      <link>http://www.phpdeveloper.org/news/10254</link>
      <description><![CDATA[<p>
If you're using the subversion checkouts of the Zend Framework, <i>Matthew Weier O'Phinney</i> <a href="http://weierophinney.net/matthew/archives/177-ZF-Subversion-Reorganization.html">recommends you update</a> your checked out copy to bring it up to sync with the reorganization they've just finished.
</p>
<blockquote>
We just completed a reorganization of our subversion repository. The reorganization was necessary due to changes we are introducting both in our proposal system as well as project architecture. Specifically, we are introducing a new library, our 'Extras' library, which will contain contributions that are not officially supported by Zend but which still require successful completion of our proposal process. Additionally, we are merging our Laboratory repository.
</blockquote>
<p>
<a href="http://framework.zend.com/wiki/display/ZFUSER/Subversion+Migration+Information">This page</a> on the Zend Framework website gives the new structure along with a list of key changes and an example of how to switch our your current checkout with this new version.
</p>]]></description>
      <pubDate>Fri, 23 May 2008 09:35:59 -0500</pubDate>
    </item>
  </channel>
</rss>
