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


Derick Rethans' Blog:
Xdebug finally in Debian
0 comments :: posted Friday May 09, 2008 @ 12:03:24
voice your opinion now!

PHP developers working on Debian have one more reason to be happy with their choice of linux distributions - as Derick Reathans notes, XDebug has been added as an apt-getable package to the Debian systems.

Since a few days, there is a new package in Debian: php5-xdebug. After a few years of talking licenses, due to the help of Martin Meredith and Francois Marier Xdebug can finally be installed with apt-get.

XDebug is a debugging and profiling tool that adds additional information (more than just the usual "error on line..." sort of thing) to the output of your PHP scripts. It also adds more complex functionality like profiling and code coverage reports run on your applications.

tagged with: xdebug debian linux package aptget install

PHPBuilder.com.au:
Powerful Web Services with PHP and SOAP
0 comments :: posted Wednesday April 30, 2008 @ 08:43:28
voice your opinion now!

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

Hasin Hayder's Blog:
Installing PECL subversion extension for PHP in Ubuntu 7.10
0 comments :: posted Tuesday April 22, 2008 @ 09:48:13
voice your opinion now!

Hasin Hayder has a new post to his blog today about trying to set up the PHP extension for interaction between his scripts and the subversion version control libraries on his Ubuntu linux system.

I was trying to interact with my subversion repositories using PHP yesterday and I knew that PECL has a extension named "SVN" for PHP users. So I tried to install in in my machine by when I tried to install it with the [following] command it always failed.

The trick to his hint is to install the libsvn-dev package (found via a search with apt-get) and installed and compiled in to the PHP installation with the extension. Sample code is included.

tagged with: ubuntu aptget package subversion svn install extension pecl

Michael Kimsal's Blog:
Joe Stump @ MySQL
0 comments :: posted Friday April 18, 2008 @ 12:09:57
voice your opinion now!

On his blog, Michael Kimsal talks about a presentation he sat in on at this year's MySQL Conference given by Joe Stump from Digg.com:

One key thing he's repeating is using a service layer to access data asynchronously. His advice right now is to group data requests at the top of a user request, do them asynchronously, and then use the data in the rendering when it comes back.

They've published a PEAR package as an example of this asynchronous method that interfaces with Digg's API (http://services.digg.com). You can read more about the subject of his talk on the MySQL Conference website.

tagged with: joestump mysqlcon2008 digg pear package asynchronous

Zend Developer Zone:
Reading and Writing Spreadsheets with PHP
0 comments :: posted Thursday April 03, 2008 @ 08:49:19
voice your opinion now!

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

Jonathan Street's Blog:
Is PHP good enough for science?
0 comments :: posted Thursday March 20, 2008 @ 09:32:41
voice your opinion now!

On his blog today, Johnathan Street poses a question - is PHP "good enough" to be used in the scientific community?

There is an accelerating trend in Biology to make data and tools available via web interfaces. In my opinion this is an environment where PHP excels and yet all the literature I've seen discussing the development of these services uses Perl or occasionally Java.

He came across two science-related PEAR packages that were created back in 2003, but not too much since then. He wonders if there's anyone else out there that might feel like PHP is a perfect fit for some of the sort of applications the scientific community could need.

So my question is this. Is anyone out there using PHP in a scientific environment? Are there resources available which I've missed?
tagged with: science application pear package project

Developer Tutorials Blog:
5 PEAR gems free php scripts that will help you code quicker
0 comments :: posted Wednesday March 19, 2008 @ 09:37:29
voice your opinion now!

Akash Mehta has pointed out five "PEAR gems" that can help you get your code up and running faster - some helpful bits of code to help you deal with some common issues.

Sifting through the repository is also a challenge; a basic category system is in place, but it’s hard to tell what you want when you don't know what's available. Here are some gems from the PEAR repository that you could really find useful.

The five that made his list are:

tagged with: pear repository package akisment http archive spreadsheet excel xml

Community News:
Services_Akismet PEAR Package Created
0 comments :: posted Friday February 22, 2008 @ 15:58:00
voice your opinion now!

Mike Gauthier has created a PEAR-based implementation for the popular Akismet spam filtering system that he's added to the site:

I'd like to let you know about a new PHP 5 implementation of the Akismet REST API. The package, Services_Akismet is MIT licensed and distributed through the official PEAR channel at http://pear.php.net/package/Services_Akismet.

Hopefully this will make it even easier for third-party PHP projects to use Akismet spam tools. The code is well documented and should "just work" on any PHP 5.2.1+ system.

It's currently in its alpha stage and was derived from the miPHP Akismet class written by Bret Kuhns.

tagged with: pear package akismet alpha rest api interface

Security News:
Slackware Linux Updated PHP4 Package
0 comments :: posted Friday February 15, 2008 @ 11:15:00
voice your opinion now!

The Slackware linux development group has released a new package for PHP4-using users of their distribution today:

New php-4.4.8 packages are available for Slackware 10.2 and 11.0 to fix security issues. More details about the issues may be found here: http://bugs.php.net/43010.

You can download it from their FTP sites, two versions for each of the most recent distributions: Slackware 10.2 and Slackware 11.0

tagged with: slackware linux update security php4 package download


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

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