<?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>Thu, 15 May 2008 21:43:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Tiger Heron Blog: First steps with PHP - booting a script, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/10056</guid>
      <link>http://www.phpdeveloper.org/news/10056</link>
      <description><![CDATA[<p>
<i>Tony Freixas</i> continues his introductory look at "booting" a PHP script with <a href="http://www.tigerheron.com/article/2008/04/first-steps-php-booting-script-part-2">part two</a> of his series (here's <a href="http://www.phpdeveloper.org/news/9819">part one</a>) looking at using libraries.
</p>
<blockquote>
In the good old days, if you wanted to create re-usable code, you would create a library of related functions or objects. Now, the excitement is all around frameworks. Everyone has one. What is the difference between the two?
</blockquote>
<p>
He compares a library and a framework, pointing out key differences like how they fit with the application (controlled by or controlling) and dependencies they require. He rounds out his boot sequence, adding a few new parts to the structure of his example application.
</p>]]></description>
      <pubDate>Mon, 28 Apr 2008 12:57:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andreas Gohr's Blog: Google Chart API via PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9978</guid>
      <link>http://www.phpdeveloper.org/news/9978</link>
      <description><![CDATA[<p>
On his blog, <i>Andreas Gohr</i> has <a href="http://www.splitbrain.org/blog/2008-04/16-google_chart_api_via_php">posted about</a> various charting applications on the web (in his search for a way to show off the stats for <a href="http://www.splitbrain.org/blog/2008-02/17-gathering_dokuwiki_usage_data">DokuWiki</a>) and looking specifically at the Google Charts.
</p>
<blockquote>
Because such [popularity] data is much better to comprehend when accompanied by some nice graphs, I had a look at the <a href="http://code.google.com/apis/chart/">Google Chart API</a> today.
</blockquote>
<p>
He also mentions three wrapper libraries that help your apps interface with the Charts API. Of course, he also includes some graphs of the popularity stats showing things like web server usage and PHP versions.
</p>]]></description>
      <pubDate>Wed, 16 Apr 2008 21:04:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Make Me Pulse Blog: PHP6, Unicode and TextIterator features]]></title>
      <guid>http://www.phpdeveloper.org/news/9796</guid>
      <link>http://www.phpdeveloper.org/news/9796</link>
      <description><![CDATA[<p>
On the Make Me Pulse blog, there's <a href="http://blog.makemepulse.com/2008/03/13/php6-unicode-and-textiterator-features/">a look at</a> PHP6's support of Unicode in the SPL (Standard PHP Library) TextIterator handler.
</p>
<blockquote>
I've just install the last version of <a href="http://snaps.php.net/">PHP6 dev</a> and I've decided to test the famous new feature, the PHP Unicode Support. I will not explain new things about PHP6 or Unicode or TextIterator, it's just my discoveries test on this features.
</blockquote>
<p>
He <a href="http://blog.makemepulse.com/2008/03/13/php6-unicode-and-textiterator-features/">steps through</a> the process he followed - enabling Unicode support, testing various output methods (including just an echo and using the TextIterator) as well as some of the manipulation methods (next/first/current) that can be used to get certain characters out of a string.
</p>]]></description>
      <pubDate>Fri, 14 Mar 2008 09:32:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: PEAR vs. Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9793</guid>
      <link>http://www.phpdeveloper.org/news/9793</link>
      <description><![CDATA[<p>
On his blog today, <i>Stefan Mischook</i> <a href="http://www.killerphp.com/articles/pear-vs-zend-framework/">compares</a> two of the popular component libraries out there - PEAR and the Zend Framework (yes, it can be considered a grouping of components too).
</p>
<blockquote>
Now that the Zend Framework is ready for 'prime time', I've been considering the <a href="http://pear.php.net/">Pear framework</a> with regards to how it now fits in the PHP world.
</blockquote>
<p>
He <a href="http://www.killerphp.com/articles/pear-vs-zend-framework/">suggests</a> that not could both be considered component libraries, but might also both be frameworks (based on a definition that a framework is a "consistent set of components that are designed to work together in a unified manner"). He also asks about the need for something like PEAR now that the Zend Framework has come along, getting <i>Jonathan Lebensold</i>'s opinion too.
</p>]]></description>
      <pubDate>Fri, 14 Mar 2008 07:56:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Two Wrappers for Ext JS in PHP - PHP-Ext & ExtPHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9783</guid>
      <link>http://www.phpdeveloper.org/news/9783</link>
      <description><![CDATA[<p>
As both the <a href="http://devzone.zend.com/article/3241-Ajaxian.com-announces-two-PHP-Wrappers-for-ExtJS">Zend Developer Zone</a> and <a href="http://ajaxian.com/archives/to-extphp-or-to-php-ext">Ajaxian</a> point out, there's been two new projects based on the Ext JS user interface widget system adapted for PHP - <a href="http://php-ext.quimera-solutions.com/">PHP-Ext</a> and <a href="http://nexus.zteo.com/2008/03/04/extphp-an-extjs-converterwrapper-for-php-developers/">ExtPHP</a>.
</p>
<blockquote>
PHP-Ext is an open source widget library written for PHP 4 and 5 to empower the UI Layer. It is based on <a href="http://extjs.com/">Ext JS</a> javascript widgets which provide a standard and powerful API to build Rich Internet Applications. It basically works as a convenient wrapper for the Ext JS Javascript Objects.
</blockquote>
<p>
And from the <a href="http://nexus.zteo.com/2008/03/04/extphp-an-extjs-converterwrapper-for-php-developers/">ExtPHP</a> site:
</p>
<blockquote>
I needed to be the one person who would have to wrestle JavaScript when problems happened. I therefore needed a way to insulate them from the gory details, which is why I created ExtPHP.
As you may have guessed from subtle hints, such as <a href="http://nexus.zteo.com/2008/03/04/extphp-an-extjs-converterwrapper-for-php-developers/">this entry</a>'s 12-feet tall header, ExtPHP creates a PHP wrapper for ExtJS.
</blockquote>
<p>
The <a href="http://ajaxian.com/archives/to-extphp-or-to-php-ext">Ajaxian post</a> also includes code examples for each of them, one showing form construction and the other a tabbed interface.
</p>]]></description>
      <pubDate>Wed, 12 Mar 2008 09:38:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Meet Phergie]]></title>
      <guid>http://www.phpdeveloper.org/news/9697</guid>
      <link>http://www.phpdeveloper.org/news/9697</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has been working on a project based on an idea he and <i>Ben Ramsey</i> thought up - a wrapper around the <a href="http://libircclient.sourceforge.net/">libircclient</a> libraries to make IRC interface simple. As a result, <i>Matthew</i> turned it into a more practical application - you can call her <a href="http://ishouldbecoding.com/2008/02/20/meet-phergie/">Phergie</a>.
</p>
<blockquote>
I had toyed with some previous iterations of Phergie, some Python-based and later some PHP-based, before I finally got an API design I was happy with.
</blockquote>
<p>
The source for the bot can be downloaded from its <a href="http://svn2.assembla.com/svn/phergie/">subversion repository</a> and you can find out more about it on its <a href="http://trac2.assembla.com/phergie">Trac site</a>. Also, if you feel like chatting about it, you can head over to the #phergie channel on the <a href="http://www.freenode.org">Freenode IRC network</a>.
</p>]]></description>
      <pubDate>Mon, 25 Feb 2008 10:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Builder.com.au: Generating PDF Files with PHP and FPDF]]></title>
      <guid>http://www.phpdeveloper.org/news/9665</guid>
      <link>http://www.phpdeveloper.org/news/9665</link>
      <description><![CDATA[<p>
The Builder.com.au website has a <a href="http://www.builderau.com.au/program/php/soa/Generating-PDF-files-with-PHP-and-FPDF/0,339028448,339286044,00.htm">new tutorial</a> posted today that looks at the dynamic creation of a web standard (PDF files) inside of a PHP script.
</p>
<blockquote>
An alternative way of generating PDF files with PHP is using FPDF, a free PHP class containing a number of functions for creating and manipulating PDFs. The key word here is free. You are free to download and use this class or customise it to fit your needs. In addition to being free, it's also simpler to use than PDFlib. The PDFlib needs to be installed as an extension in your PHP package, whereas FPDF can just be included in your PHP script and it's ready to use
</blockquote>
<p>
They show how to use the <a href="http://www.fpdf.org/">FPDF</a> library to make some simple files - setting the title, author, adding images and text, etc. There's even a little bit there at the end about adding new pages to make more complex documents simple.
</p>]]></description>
      <pubDate>Wed, 20 Feb 2008 08:42:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y: Step Away From the SuperGlobals! An Introduction to Inspekt]]></title>
      <guid>http://www.phpdeveloper.org/news/9662</guid>
      <link>http://www.phpdeveloper.org/news/9662</link>
      <description><![CDATA[<p>
As <i>Ed Finkler</i> <a href="http://funkatron.com/index.php/site/comments/new-article-on-inspekt-at-c7y/#When:01:50:00Z">points out</a> there's a <a href="http://c7y.phparch.com/c/entry/1/art,inspekt-introduction_to_inspekt">new article posted</a> (written by him) on the C7Y site (from php|architect) talking about his <a href="http://inspekt.org/">Inspekt</a> library - an introduction to the filtering library showing how to help make your applications safer.
</p>
<blockquote>
Inspekt is a library for PHP4 and PHP5 that aims to make safe input handing easier, and unsafe actions more difficult. Inspekt establishes a new development approach by wrapping input within "cage" objects, and requiring the developer to use validation and filtering methods to test and manipulate the input data. This article provides a brief introduction to Inspekt and its capabilities.
</blockquote>
<p>
<a href="http://c7y.phparch.com/c/entry/1/art,inspekt-introduction_to_inspekt">The article</a> covers all of the basics - what the library can do for you, how it integrates into your application and how it helps to protect you from potential problems with the data in your superglobals ($_GET, $_POST, $_REQUEST, etc). 
</p>]]></description>
      <pubDate>Tue, 19 Feb 2008 11:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Unexpected return value from Facebook FQL.query via PHP REST Lib]]></title>
      <guid>http://www.phpdeveloper.org/news/9653</guid>
      <link>http://www.phpdeveloper.org/news/9653</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> had been <a href="http://hasin.wordpress.com/2008/02/16/unexpected-return-value-from-facebook-fqlquery-via-php-rest-lib/">working with the Facebook API</a> and stumbled across a bug in an application they had created for the social networking site:
</p>
<blockquote>
The method which we used to count number of friends of a specific user who has added that application was returning 1 when there is no friend actually installed it.
</blockquote>
<p>
He gives the SQL query and the PHP code he was originally using to find out the number of users for the application. The problem came from the fact that the returning value wasn't an array - it was a string. The corrected code (that checks for array-ness) is also included.
</p>]]></description>
      <pubDate>Mon, 18 Feb 2008 12:06:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Make Me Pulse Blog: Tips : RecursiveArrayIterator on mulitdimensional Array]]></title>
      <guid>http://www.phpdeveloper.org/news/9605</guid>
      <link>http://www.phpdeveloper.org/news/9605</link>
      <description><![CDATA[<p>
On the Make Me Pulse blog, <i>Antoine Ughetto</i> shares a method he came up with to recurse through an array using the SPL method - the RecursiveArrayIterator method.
</p>
<blockquote>
When we have a multidimensional array we have to make some recursives function to parse it. A simple way to get the keys and the value of this type of array is to use the <a href="http://fr2.php.net/manual/fr/ref.spl.php">SPL library of PHP</a>.
</blockquote>
<p>
A <a href="http://blog.makemepulse.com/2008/02/11/tips-recursivearrayiterator-on-mulitdimensional-array/">code example</a> is included, parsing through a recursive array to output each of the key/value pairs it contains (and using only about five or six lines of code to do it).
</p>]]></description>
      <pubDate>Mon, 11 Feb 2008 13:07:00 -0600</pubDate>
    </item>
  </channel>
</rss>
