<?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>Fri, 04 Jul 2008 21:29:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Google roll out OAuth Authorisation to all Google Data APIs]]></title>
      <guid>http://www.phpdeveloper.org/news/10524</guid>
      <link>http://www.phpdeveloper.org/news/10524</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/385-Google-roll-out-OAuth-Authorisation-to-all-Google-Data-APIs.html">posted about</a> a new inclusion that Google has announced will be included in the authentication methods for their APIs - OAuth.
</p>
<blockquote>
The Google Data API support comes with a few gotchas. Its documentation show a clear preference for using GET instead of POST, though the Google OAuth server does appear to natively support POST requests for everything with the exception that it has a small bug which interprets an empty POST request body as a sort of phantom empty parameter.
</blockquote>
<p>
He notes that <a href="http://svn.astrumfutura.org/zendframework/trunk">the library</a> he's been working on (and submitted to both the Zend Framework and PEAR) it up to the 0.0.3 release including functionality marked as beta for the Consumer portion.
</p>]]></description>
      <pubDate>Tue, 01 Jul 2008 14:38:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThinkPHP Blog: Using LDIF to simulate LDAP transactions with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10516</guid>
      <link>http://www.phpdeveloper.org/news/10516</link>
      <description><![CDATA[<p>
On the ThinkPHP blog today, there's <a href="http://blog.thinkphp.de/archives/340-Using-LDIF-to-simulate-LDAP-transactions-with-PHP.html">a new post</a> from <i>Stephanie Ehrling</i> about simulating an LDAP connection and data request to PHP with LDIF.
</p>
<blockquote>
An LDIF file is a simple text file that can contain those LDAP information, which can be separated into two groups. On the one hand, it can hold exported LDAP data in a text format. The other purpose of LDIF is to use it for importing data into an LDAP based system. So it can contain data to be imported or just commands that shall be processed. This is an important fact, because that opens the door to an interesting workaround.
</blockquote>
<p>
This workaround allows you to import large amounts of data quickly and easy by dumping it into the server via a simple PHP script. The code is included in the post, but you'll need to <a href="http://www.sun.com/download/products.xml?id=3ec28dbd">have the binaries</a> to get the LDIF and LDAP functionality working together.
</p>
]]></description>
      <pubDate>Tue, 01 Jul 2008 08:45:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kae Verens' Blog: Book Review: Learning PHP Data Objects]]></title>
      <guid>http://www.phpdeveloper.org/news/10368</guid>
      <link>http://www.phpdeveloper.org/news/10368</link>
      <description><![CDATA[<p>
<i>Kae Verens</i> has posted <a href="http://verens.com/archives/2008/06/07/book-review-learning-php-data-objects/">a review</a> of another of Packt Publishing's PHP-related offerings, "Learning PHP Data Objects" by <i>Dennis Popel</i> (published in Aug 2007).
</p>
<blockquote>
<a href="http://www.amazon.co.uk/gp/product/1847192661?ie=UTF8&tag=klog-21&linkCode=as2&camp=1634&creative=6738&creativeASIN=1847192661">Learning PHP Data Objects</a>, by Dennis Popel, is an introduction to PDO, which walks through the building of a believable test example - a library manager for your home library. [...] I really couldn't find very much about this book that I didn't like. Ignoring the appendices, the book is 154 pages purely devoted to teaching PDO through examples, including error handling, working with BLOBs, even the creation of the M in MVC (Models).
</blockquote>
<p>
<a href="http://verens.com/archives/2008/06/07/book-review-learning-php-data-objects/">The review</a> mentions Models, Active Record and how the book creates a Library manager application that includes the use of prepared statements and transactions.
</p>]]></description>
      <pubDate>Mon, 09 Jun 2008 10:22:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Daniel Cousineau's Blog: Hierarchical Data With PHP and MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/10319</guid>
      <link>http://www.phpdeveloper.org/news/10319</link>
      <description><![CDATA[<p>
<i>Daniel Cousineau</i> submitted a <a href="http://www.toosweettobesour.com/2008/06/02/hierarchical-data-with-php-and-mysql/">new blog post</a> he's come up with that looks at using hierarchical data in a MySQL database.
</p>
<blockquote>
I recently had fun with an all-to-common issue with SQL driven websites: hierarchical data. For those who don't like big words, think trees. <a href="http://dev.mysql.com/tech-resources/articles/hierarchical-data.html">Other people</a> have already discussed storage methods, and I would actually highly suggest you read the writeup if you haven't already.
</blockquote>
<p>
He includes a sample table you can work from and <a href="http://www.toosweettobesour.com/2008/06/02/hierarchical-data-with-php-and-mysql/">some code</a> that can be used to generate a select (based on a $depth variable) parent/child values from it. A few simple function calls later and you have a nested array or lots of little subarrays maintaining the parent/child relationships the database has.
</p>]]></description>
      <pubDate>Mon, 02 Jun 2008 12:09:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Data Migration and Import Examples]]></title>
      <guid>http://www.phpdeveloper.org/news/10246</guid>
      <link>http://www.phpdeveloper.org/news/10246</link>
      <description><![CDATA[<p>
The Zend Developer Zone has a <a href="http://devzone.zend.com/article/3540-Data-Migration-and-Import-Examples">new article</a> that supplements a podcast from the <a href="http://devzone.zend.com/article/2046-Announcing-PHP-Abstract-DevZones-new-PodCast-for-PHP-Developers">PHP Abstract</a> series recently given by <i>Lorna Mitchell</i> on "Data Importing".
</p>
<blockquote>
It is a simple walkthrough of some examples of the techniques mentioned in the podcast. It is much easier to visualise queries and data structures if written down, so here we look at an example of each of the points mentioned.
</blockquote>
<p>
Her examples convert employee information over from one table to another via some SQL queries and splits out the information into the parts to fill the table (done with inserts and updates).
</p>]]></description>
      <pubDate>Thu, 22 May 2008 11:16:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Abstract Podcast Episode 40: Data Importing]]></title>
      <guid>http://www.phpdeveloper.org/news/10195</guid>
      <link>http://www.phpdeveloper.org/news/10195</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/article/3530-PHP-Abstract-Podcast-Episode-40-Data-Importing">their latest episode</a> of the PHP Abstract podcast series. This time, <i>Cal</i>'s brought in <i>Lorna Mitchell</i> from Ibuildings to talk about importing data.
</p>
<blockquote>
Today our special guest is Lorna Mitchell. Lorna is a Developer at Ibuildings in the UK, and is based in Leeds in the North of England. She is a Zend Certified Engineer and the senior member for phpwomen.org in Europe. Today, Lorna will be talking to us about Data Importing.
</blockquote>
<p>
There's three ways to get this new episode - you can either download <a href="http://s3.amazonaws.com/php.abstract.2008/php_abstract_episode_040.mp3">the mp3</a> of the show, listen using the <a href="http://devzone.zend.com/article/3530-PHP-Abstract-Podcast-Episode-40-Data-Importing">in-page player</a> or subscribe to <a href="http://feeds.feedburner.com/phpabstract">the show's feed</a> and get this and other great episodes automatically.
</p>]]></description>
      <pubDate>Thu, 15 May 2008 15:24:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ThinkPHP Blog: Accessing Nike+ data with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10191</guid>
      <link>http://www.phpdeveloper.org/news/10191</link>
      <description><![CDATA[<p>
On the ThinkPHP blog today, <i>Stephanie Ehrling</i> has <a href="http://blog.thinkphp.de/archives/323-Accessing-Nike+-data-with-PHP.html">posted about</a> a method for PHP to take in the output of the <a href="http://www.nike.com/nikeplus">Nike+ equipment</a> and put it into a usable form.
</p>
<blockquote>
There is no official API that allows you to use the raw data. Nevertheless the data are sent to the Flash via XML so there is a chance to use them. For PHP Rasmus Lerdorf himself has <a href="http://lerdorf.com/php/nikeplus.phps">implemented a class</a> to access these data. The class allows to authenticate a user and fetch the running data of a user in a XML-Format
</blockquote>
<p>
She gives an example of it in action - simple creation of an object then a call with the username and password. Behind the scenes, the data is pulled in and dropped into a SimpleXML object that includes total distance, total calories burned and data on the most recent run.
</p>]]></description>
      <pubDate>Thu, 15 May 2008 10:26:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: A review of "Learning PHP Data Objects"]]></title>
      <guid>http://www.phpdeveloper.org/news/10113</guid>
      <link>http://www.phpdeveloper.org/news/10113</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/2008/05/04/a-review-of-learning-php-data-objects/">posted a review</a> of the Packt Publishing book "Learning PHP Data Objects" over on his blog today:
</p>
<blockquote>
<a href="http://www.packtpub.com/">Packt Publishing</a> recently sent me a couple of books to review. This post is about the second one I received, <a href="http://www.packtpub.com/oop-php-5/book">Learning PHP Data Objects</a> by Dennis Popel. I was excited to receive this book as PDO underlies a lot of the Zend_Db_Adapter objects that I use in my day to day programming. It seemed like a good idea that I should know more about it.
</blockquote>
<p>
He <a href="http://akrabat.com/2008/05/04/a-review-of-learning-php-data-objects/">provides some good detail</a> of what the book covers (chapter by chapter) as well as a summary including his recommendation for who should use the book and how they can best enjoy its contents.
</p>]]></description>
      <pubDate>Mon, 05 May 2008 13:44:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEveryDay.com: New Tutorials Posted (WDDX in PHP)]]></title>
      <guid>http://www.phpdeveloper.org/news/10084</guid>
      <link>http://www.phpdeveloper.org/news/10084</link>
      <description><![CDATA[<p>
The PHPEveryDay.com website has several new tutorials they've posted recently - here's the list:
</p>
<ul>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Creating-Web-Service-Client-P598.html">PHP WDDX: Creating Web Service Client</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Creating-Web-Service-Server-P597.html">PHP WDDX: Creating Web Service Server</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Unserializing-Data-P596.html">PHP WDDX: Unserializing Data</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Complex-Serialization-P595.html">PHP WDDX: Complex Serialization</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Simple-Serialization-Using-PHP-function-P594.html">PHP WDDX: Simple Serialization Using PHP function</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Recordset-Element-P593.html">PHP WDDX: Recordset Element</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Struct-Element-P592.html">PHP WDDX: Struct Element</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Using-Array-Elements-P591.html">PHP WDDX: Using Array Elements</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Understanding-Simple-Data-Type-P590.html">PHP WDDX: Understanding Simple Data Type</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Understanding-Data-Elements-P589.html">PHP WDDX: Understanding Data Elements</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Understanding-Anatomy-of-WDDX-P588.html">PHP WDDX: Understanding Anatomy of WDDX</a>
<li><a href="http://www.phpeveryday.com/articles/PHP-WDDX-Introduction-P587.html">PHP WDDX: Introduction</a>
</ul>
<p>
Check out <a href="http://www.phpeveryday.com">PHPEveryDay.com</a> for even more great tutorials and articles.
</p>
]]></description>
      <pubDate>Thu, 01 May 2008 07:58:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[MSBWare.com: XML to Array]]></title>
      <guid>http://www.phpdeveloper.org/news/9967</guid>
      <link>http://www.phpdeveloper.org/news/9967</link>
      <description><![CDATA[<p>
<i>Michael</i> has posted <a href="http://www.msbware.com/articles/scripts/xml_to_array.html">a simple script</a> today that takes in XML data and spits back out an array on the other side:
</p>
<blockquote>
The function takes the specified XML data (which must be in valid XML format) and converts into an array.  Any attributes in the XML elements are dropped an only the element values are placed in the array.
</blockquote>
<p>
<a href="http://www.msbware.com/articles/scripts/xml_to_array.html">The code</a> uses a combination of XPath, DOM, and regular expressions to parse the given XML content.
</p>]]></description>
      <pubDate>Mon, 14 Apr 2008 10:23:11 -0500</pubDate>
    </item>
  </channel>
</rss>
