News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Ken Guest's Blog:
The Date_Holidays package, a pack of splitters and a pear tree
0 comments :: posted Friday May 09, 2008 @ 12:56:39
voice your opinion now!

In a new post to his blog today, Ken Guest talks about the split that's been made in a PEAR package for calculating the dates of holidays (Date_Holidays) for localization reasons.

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.

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 the PEAR page for the main package and see the subpackage list if you only need one for your area.

tagged with: dateholidays pear package split regional filter driver subpackage



developer ajax book framework zendframework database mysql job PEAR package releases security cakephp code PHP5 application zend release conference pecl

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