 | News Feed |
Sections
Community Events
|
| feed this: |  |
Ken Guest's Blog: The Date_Holidays package, a pack of splitters and a pear tree
posted Friday May 09, 2008 @ 12:56:39
voice your opinion now!
BY CHRIS CORNUTT
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
Community News: PEAR Group Elections 2008-2009 (Nominations)
posted Tuesday May 06, 2008 @ 16:09:04
voice your opinion now!
BY CHRIS CORNUTT
Time has come back around for the 2008-2009 PEAR group elections and David Coallier has posted some details about this year's elections.
It is now this time of the year again where the PEAR Group throws in the PEAR Group Nominations. The nominated people will then be called for votes by the community and 7 lucky (even though luck has nothing to do with it) will be elected as the new PEAR Group member for the year 2008-2009.
The entire PHP community is requested to nominate who they think would make the best addition to the group, regardless of how they're related to the PEAR project. Nominations should be sent to Martin Jansen by midnight (UTC) May 31st.
tagged with: pear group nominate election matrinjansen email
PHPBuilder.com.au: Powerful Web Services with PHP and SOAP
posted Wednesday April 30, 2008 @ 08:43:28
voice your opinion now!
BY CHRIS CORNUTT
In a new article from PHPBuilder.com.au today, they talk about the "powerhouse of web services", SOAP, and how to get started working with it in PHP.
You've tried your hand at building mashups, experimented with a few RESTful Web services, maybe even started your own. Sure, you've got data sharing working. But how do you make your Web applications really talk to each other? In this tutorial, I'll show you how to take your Web applications to the next level with SOAP.
They opt to go with the NuSOAP method to consume another service and create your own simple one. They include a few code examples for either side and a (very) brief look at doing some debugging with what NuSOAP has to offer. One thing to note - if you have PHP5's SOAP extension compiled in and working, NuSOAP will throw an error about redeclaring a class name. This is because of a conflict between the naming of the SOAP extension's methods and NuSOAP.
tagged with: soap tutorial nusoap client server pear package
New Earth Online: Caching PHP pages
posted Monday April 21, 2008 @ 09:31:40
voice your opinion now!
BY CHRIS CORNUTT
The New Earth Online has a quick look at one easy method for speeding up your site in a few different ways - caching pages and information with things like Cache_Lite and APC.
As your site traffic grows it takes longer and longer to generate a dynamic page from sending multiple queries to a database. One possible solution to limit queries is to cache the result of each query that is needed, or to have a complete full page cache for your site.
They look at the two ways I mentioned - the Cache_Lite PEAR package and the APC extension (that will soon be included by default in the stable PHP releases). Bits of code are provided for each showing how to get them set up and get them working inside of your application.
tagged with: cache page apc pear cachelite tutorial install
PEAR Blog: First PEAR bug triage over!
posted Thursday April 03, 2008 @ 10:26:34
voice your opinion now!
BY CHRIS CORNUTT
According to this post on the PEAR blog, the first PEAR bug triage is now over:
PEAR's bug tracker hit the 600+ open bugs mark a month ago. [...] So with 600+ open bugs (not including the feature requests), we had to do something. [...] The logical step was to hold our own bug smashing event and see how it works for PEAR.
Back on March 22nd and 23rd (Easter weekend) they hunted for bugs. Several developers showed to help out and many bugs were fixed and they managed to bring the number of open bugs for PEAR down to 547 with the two days of work. There were some milestones reached too:
Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).
tagged with: pear bug triage close problem issue feature event
Zend Developer Zone: Reading and Writing Spreadsheets with PHP
posted Thursday April 03, 2008 @ 08:49:19
voice your opinion now!
BY CHRIS CORNUTT
On the Zend Developer Zone, Vikram Vaswani has posted a tutorial that shows hos to "break the language barrier" between PHP and Microsoft's Excel to allow for the reading and writing of spreadsheet data directly from one to the other.
When it comes to playing nice with data in different formats, PHP's pedigree is hard to beat. Not only does the language make it a breeze to deal with SQL result sets and XML files, but it comes with extensions to deal with formats as diverse as Ogg/Vorbis audio files, ZIP archives and EXIF headers. So it should come as no surprise that PHP can also read and write Microsoft Excel spreadsheets, albeit with a little help from PEAR.
After grabbing the different parts needed (the PHP-ExcelReader package and the Spreadsheet_Excel_Writer PEAR package, he shows how to create a simple spreadsheet with just numeric information in it. For something a bit more interesting, he goes the other way and shows spreadsheet data as an HTML table.
Other examples included as well are things like: pushing spreadsheet data into a database, working with formulas and styling it to your liking.
tagged with: spreadsheet excel pear package phpexcelreader writer tutorial
Symfony Blog: Upgrade your plugins
posted Thursday March 20, 2008 @ 12:03:06
voice your opinion now!
BY CHRIS CORNUTT
The Symfony project is recommending you upgrade your plugins to the latest editions - an issue with the PEAR channel caused it to load the wrong ones:
A problem in the symfony project PEAR channel made the plugin-install task always install the oldest version of the plugins, instead of the latest. If you recently installed plugins with the symfony command line, you probably installed an outdated version. Plugins installed via SVN are not affected.
You'll need to run a plugin-upgrade command for each of the plugins installed on your system to ensure that you're completely up to date. The post has complete info on how to tell which plugins you have and the exact commands to issue to being them up to date.
tagged with: symfony framework upgrade update plugin pear channel
|