News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ken Guest's Blog:
The Date_Holidays package, a pack of splitters and a pear tree
May 09, 2008 @ 12:56:39

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.

0 comments voice your opinion now!
dateholidays pear package split regional filter driver subpackage


blog comments powered by Disqus

Similar Posts

Community News: Latest PEAR Releases for 06.11.2007

IBM developerWorks: Paint 3-D images with PHP

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Chuck Burgess' Blog: Configuring Builds for PEAR Packages in phpUnderControl

Blue Parabola Blog: Coding Standard Analysis using PHP_CodeSniffer


Community Events











Don't see your event here?
Let us know!


unittest podcast component composer package opinion language series facebook security hhvm framework database application introduction symfony2 install performance release hack

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