<?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, 18 Jun 2013 00:22:13 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ken Guest's Blog: The Date_Holidays package, a pack of splitters and a pear tree]]></title>
      <guid>http://www.phpdeveloper.org/news/10155</guid>
      <link>http://www.phpdeveloper.org/news/10155</link>
      <description><![CDATA[<p>
In <a href="http://blogs.linux.ie/kenguest/2008/05/09/the-date_holidays-package-a-pack-of-splitters-and-a-pear-tree/">a new post</a> to his blog today, <i>Ken Guest</i> talks about the split that's been made in a PEAR package for calculating the dates of holidays (<a href="http://pear.php.net/package/Date_Holidays">Date_Holidays</a>) for localization reasons.
</p>
<blockquote>
We decided that this one package should be split into subpackages: one subpackage per region/country. Some advantages of this approach are that each driver / filter / subpackage gets it's own stability and version number - we wouldn't have to keep increasing the version number of Date_Holidays each time a new driver is added or when an existing driver gets a significant number of fixes.
</blockquote>
<p>
To replace your current version of the package (with all of the regions built in) with a new version that still contains all versions, uninstall the Date_Holidays and grab the "Date_Holidays#all" package. Otherwise, you can check out <a href="http://pear.php.net/package/Date_Holidays">the PEAR page</a> for the main package and see the subpackage list if you only need one for your area.
</p>]]></description>
      <pubDate>Fri, 09 May 2008 12:56:39 -0500</pubDate>
    </item>
  </channel>
</rss>
