<?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>Wed, 09 Jul 2008 07:15:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Process and integrate Google Notebook data with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10279</guid>
      <link>http://www.phpdeveloper.org/news/10279</link>
      <description><![CDATA[<p>
A <a href="http://www.ibm.com/developerworks/xml/library/x-googlentbk/?ca=dgr-btw01x-googlentbk&S_TACT=105AGX59&S_CMP=GRsitebtw01">new tutorial</a> over on the IBM developerWorks site (from <i>Vikram Vaswani</i>) shows how to pull data from the <a href="http://www.google.com/notebook/">Google Notebook</a> service into your script via the service's REST API.
</p>
<blockquote>
Google Notebook is a free service that allows users to save and share notes and Web clippings in an online journal. A REST-based API allows developers to build customized PHP applications around this service using SimpleXML. In this article, you learn how to use the API, with examples of reading notebooks and notebook contents using PHP.
</blockquote>
<p>
His <a href="http://www.ibm.com/developerworks/xml/library/x-googlentbk/?ca=dgr-btw01x-googlentbk&S_TACT=105AGX59&S_CMP=GRsitebtw01">method</a> grabs the contents of the REST request and drops them into a SimpleXML object for easy manipulation. Different kinds of requests are included - getting the list of notebooks, getting the notebook's contents and how to add on extra parameters to the REST call to get more information in the responses.
</p>]]></description>
      <pubDate>Tue, 27 May 2008 12:05:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y: REST and Resource Handling with CakePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10193</guid>
      <link>http://www.phpdeveloper.org/news/10193</link>
      <description><![CDATA[<p>
On the C7Y website, a <a href="http://c7y.phparch.com/c/entry/1/art,cakephp-rest">new tutorial</a> has been posted from <i>Nate Abele</i> (following his <a href="http://c7y.phparch.com/c/entry/1/art,cake-seo">previous CakePHP-related article</a>) covering the use of the framework to create a REST web service and manage resources inside of it.
</p>
<blockquote>
We're going to take these concepts [from the previous article] further and add a new one: REST. In the course of this series so far, we've only been discussing how to use the Router to examine and act on different parts of a URL.
</blockquote>
<p>
He gives a list of possible headers that could come from a client (like Accept-Charset or Content-Type) and how these can be directly pulled in to the CakePHP routing system. A few extra bits of code later and your app can be mapping requests directly to the controllers for the actions the user's requesting. All that's left is to serialize the results back into XML to echo out.
</p>]]></description>
      <pubDate>Thu, 15 May 2008 12:04:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Synchronizing Drupal Modules with Adobe AIR]]></title>
      <guid>http://www.phpdeveloper.org/news/10167</guid>
      <link>http://www.phpdeveloper.org/news/10167</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3447-Synchronizing-Drupal-Modules-with-Adobe-AIR">new article/tutorial showing how to keep things in sync on your Drupal installation with the help of <a href="http://www.adobe.com/products/air/">Adobe AIR</a>.
</p>
<blockquote>
Whether you're an enterprise developer working in a large shop or setting up a blog for yourself, you've almost certainly been tasked with keeping your development code in sync with some type of stable release. Whether a project is big or small, you still need to ensure that the core code you work with remains consistent.
</blockquote>
<p>
<a href="http://devzone.zend.com/article/3447-Synchronizing-Drupal-Modules-with-Adobe-AIR">The tutorial</a> walks you through the setup of a basic AIR application, how to pull the configuration XML into it and parsing it to use in the interface. The next step is the sync, grabbing your config and pushing it out to other multiple configs across your sites (via a REST service).
</p>]]></description>
      <pubDate>Tue, 13 May 2008 07:58:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: The value of Web services for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9773</guid>
      <link>http://www.phpdeveloper.org/news/9773</link>
      <description><![CDATA[<p>
<i>Korynn Bohn</i> has posted <a href="http://devzone.zend.com/article/3246-The-value-of-Web-services-for-PHP">a new tutorial/article</a> on the Zend Developer Zone website that talks about (and advocates for) web services.
</p>
<blockquote>
Web services are the coolest technology I know of that ends up turning everyone off. I don't know about you, but when I go to a lecture on Web services, invariably tons of acronyms come out [...] and then I start to nod off and dream about a land where free Krispy Kreme donuts grow on trees.
</blockquote>
<p>
He reframes the web services world away from the acronyms and strict standards to more towards using it as a method of communication between apps, letting them engage in some friendly conversation. He uses the rest of the tutorial <a href="http://devzone.zend.com/article/3246-The-value-of-Web-services-for-PHP">showing how</a> to create an RSS reader of sorts using dashes of PEAR, XML, C#, XSLT, Ajax and Flex.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 08:07:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Supporting PUT & DELETE in the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9719</guid>
      <link>http://www.phpdeveloper.org/news/9719</link>
      <description><![CDATA[<p>
<i>Ben Ramsey</i> has <a href="http://benramsey.com/archives/supporting-put-delete-in-the-zend-framework/">recently blogged about</a> some of the research and bit of development that he's done to add "more correct" functionality to the Zend Framework for working with RESTful interfaces - proper PUT and DELETE support.
</p>
<blockquote>
I've recently been wrapped up in an effort to design and implement a RESTful API using the Atom Protocol for a project at work. We are using the Zend Framework as the underlying framework for the project, so, in order to follow the Atom Protocol, I needed to support the HTTP methods PUT and DELETE
</blockquote>
<p>
Since the Zend Framework has been playing such a prominent role in the development, he's been digging into the Zend_Rest_Server component code and isn't too happy about its support for PUT and DELETE. As a result, he's proposed methods that might help resolve things such as isGet, isDelete, isOptions and getEntityBody. He' even created <a href="http://framework.zend.com/issues/browse/ZF-2723">a patch</a> to make the needed changes.
</p>]]></description>
      <pubDate>Thu, 28 Feb 2008 10:27:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Johnstone's Blog: Soap, XmlRpc and Rest with the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9698</guid>
      <link>http://www.phpdeveloper.org/news/9698</link>
      <description><![CDATA[<p>
<i>Andrew Johnstone</i> has a <a href="http://www.ajohnstone.com/archives/soap-xmlrpc-and-rest-with-the-zend-framework/">new post</a> today with a look at a project he'd worked on - an implementation of a web service with the Zend Framework functionality.
</p>
<blockquote>
I was recently working on a project to expose <a href="http://corporate.bullbearings.co.uk/">our trading</a> systems via <a href="http://framework.zend.com/manual/en/zend.xmlrpc.html">XmlRpc</a>, <a href="http://framework.zend.com/manual/en/zend.rest.html">Rest</a> and <a href="http://uk3.php.net/soap">SOAP</a>. It was quite an interesting project, which took two of us three weeks to develop (Amongst other things).
</blockquote>
<p>
He <a href="http://www.ajohnstone.com/archives/soap-xmlrpc-and-rest-with-the-zend-framework/">talks about</a> some of the issues they worked through (like the ZF's "not quite ready" in the web services department) and problems they found with how the web services functionality was implemented in the framework's components. They also came across two strange bugs - one with accepting raw input and the other with a wrong return type from a method call.
</p>]]></description>
      <pubDate>Mon, 25 Feb 2008 11:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Services_Akismet PEAR Package Created]]></title>
      <guid>http://www.phpdeveloper.org/news/9692</guid>
      <link>http://www.phpdeveloper.org/news/9692</link>
      <description><![CDATA[<p>
<i>Mike Gauthier</i> has created a PEAR-based implementation for the popular Akismet spam filtering system that he's <a href="http://pear.php.net/package/Services_Akismet">added to the site</a>:
</p>
<blockquote>
<p>
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
<a href="http://pear.php.net/package/Services_Akismet">http://pear.php.net/package/Services_Akismet</a>.
</p>
<p>
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.
</p>
</blockquote>
<p>
It's currently <a href="http://pear.php.net/package/Services_Akismet">in its alpha stage</a> and was derived from the miPHP Akismet class written by <i>Bret Kuhns</i>.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 15:58: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>
  </channel>
</rss>
