<?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 22:55:34 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Use the YouTube API with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9980</guid>
      <link>http://www.phpdeveloper.org/news/9980</link>
      <description><![CDATA[<p>
In <a href="http://www.ibm.com/developerworks/xml/library/x-youtubeapi/index.html?ca=drs-tp1608">this new tutorial</a> on the IBM developerWorks website, they show you how - with a little simple HTML and PHP - to integrate functionality from the YouTube API into your site.
</p>
<blockquote>
The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. [...] This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.
</blockquote>
<p>
They help you get started by outlining the format that the YouTube messages use (Atom feeds) and how to run a query against the API and return back the custom data for things like video categories, popularity and the results of keyword searches.
</p>]]></description>
      <pubDate>Wed, 16 Apr 2008 22:42:36 -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[Hasin Hayder's Blog: Facebook data storage api can really be the replacement of memcache]]></title>
      <guid>http://www.phpdeveloper.org/news/9942</guid>
      <link>http://www.phpdeveloper.org/news/9942</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2008/04/07/facebook-data-storage-can-really-be-the-replacement-of-memcache/">proposed an interesting replacement</a> for the usual caching mechanism - using the <a href="http://www.facebook.com">Facebook</a> data storage API to cache copies of pages/data/etc.
</p>
<blockquote>
Why not! All you need is a fast-n-furious caching storage for your Facebook application which stores values against a key, same like a hash table. Facebook data storage API does the same for you. using the batch API in Facebook rest client you can seriously think it as an alternative of memcache.
</blockquote>
<p>
He shows the simple process for making the object (manually in a preexisting application), inserting data into the object through the API they provide and how to pull that data back out.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 13:58:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: PHP Site Search Made Easy]]></title>
      <guid>http://www.phpdeveloper.org/news/9883</guid>
      <link>http://www.phpdeveloper.org/news/9883</link>
      <description><![CDATA[<p>
On the Developer Tutorials site today, <i>Akash Mehta</i> has posted <a href="http://www.developertutorials.com/tutorials/php/php-site-search-made-easy-8-03-30/page1.html">his look</a> at having search functionality on your website.
</p>
<blockquote>
Today's websites have a lot of content. [...] Needless to say, effectively searching all that data can be a real challenge, and chances are at the end of the day you'll still be stuck with a slow and ineffective search system. [...] Implementing effective search doesn't have to be hard. In this tutorial, I'll show you how to build a basic site-specific web search in just five lines of code, using the Yahoo! APIs.
</blockquote>
<p>
He includes a <a href="http://www.developertutorials.com/tutorials/php/php-site-search-made-easy-8-03-30/page2.html">(very) brief</a> look at the search API Yahoo! offers followed by examples of queries and then on to the real deal, a search system that takes in a user query and asks the Yahoo! API for results matching it. The results are outputted below the box.
</p>]]></description>
      <pubDate>Mon, 31 Mar 2008 12:35:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Beaver's Blog: behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek]]></title>
      <guid>http://www.phpdeveloper.org/news/9871</guid>
      <link>http://www.phpdeveloper.org/news/9871</link>
      <description><![CDATA[<p>
In a <a href="http://greg.chiaraquartet.net/archives/189-behold-peclphar-and-mighty-PHP-5.3,-also-phparch-and-phptek.html">new post</a>, <i>Greg Beaver</i> talks about a few things, the main one being a new release of the phar extension he's made - <a href="http://pecl.php.net/package/phar/2.0.0a1">phar version 2.0.0a1</a>  - a reworking of the previous functionality with loads of new features including:
</p>
<ul>
<li>Phar now supports tar and zip archives with the same API that is supports phar archives.
<li>Phar has a front controller for web applications that fully handles MIME types, supports mod_rewrite-like functionality with far more flexibility
<li>Phar supports phar:// stream wrappers in include_path for PHP 5.2+
<li>Phar supports creation and modification of data-only tar and zip archives (no executable phar stub) via the PharData class.
</ul>
<p>
There've also been updates to <a href="http://www.php.net/phar">the manual</a> for the project to reflect this new version of its API. You can download this latest version here: <a href="http://pecl.php.net/get/phar-2.0.0a1.tgz">source</a> or <a href="http://pecl4win.php.net/ext.php/php_phar.dll">Windows DLL</a>.
</p>]]></description>
      <pubDate>Thu, 27 Mar 2008 13:49:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: WorldTimeEngine - How about making your own in PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/9767</guid>
      <link>http://www.phpdeveloper.org/news/9767</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2008/03/01/worldtimeengine-how-about-making-your-own-in-php/">posted an example</a> of a "world time search" he's worked up that uses the geonames.org and Yahoo! developer APIs to pin down the time at any given location.
</p>
<blockquote>
I recently came by this site <a href="http://worldtimeengine.com/">WorldTimeEngine</a> where users can search the local time of any place using the name, street address or just latitude and longitude. Since that time I was thinking how easily you can make your own. As long there are some good people over there (For Geocoding API) - its a not a big deal, you know?
</blockquote>
<p>
His script pulls the location of the place (latitude/longitude) from the Yahoo! geocoding API and passes that back into the geonames web service to get the local time. The result is an array with the lat/long, address you submitted and the time output in a standard string.
</p>]]></description>
      <pubDate>Mon, 10 Mar 2008 11:17:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NorthClick Blog: PECL spread module resurrected!]]></title>
      <guid>http://www.phpdeveloper.org/news/9749</guid>
      <link>http://www.phpdeveloper.org/news/9749</link>
      <description><![CDATA[<p>
In a <a href="http://blog.northclick.de/archives/39">quick new blog post</a> to the NorthClick blog, <i>Soenke Ruempler</i> points out that, due to some updates made by <i>Rob Richards</i>, the <a href="http://pecl.php.net/package/spread">Spread extension</a> for PECL is back in working order again.
</p>
<blockquote>
Yesterday I got an e-mail that two of my <a href="http://pecl.php.net/bugs/search.php?cmd=display&package_name[]=spread&status=All">PECL bug reports for the spread module have been fixed</a>. It seems that it gets some recent love from <a href="http://www.cdatazone.org/">Rob Richards</a> who commited some fixes and cleanups.
</blockquote>
<p>
The <a href="http://www.spread.org/">Spread</a> functionality allows developers to create messaging services by acting as a message bus between the clients and between the client/servers.
</p>]]></description>
      <pubDate>Thu, 06 Mar 2008 12:05: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[Zend Developer Zone: PHP Abstract Podcast Episode 35: An Advanced Look at APIs]]></title>
      <guid>http://www.phpdeveloper.org/news/9684</guid>
      <link>http://www.phpdeveloper.org/news/9684</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/article/3172-PHP-Abstract-Podcast-Episode-35-An-Advanced-Look-at-APIs">their latest episode</a> in their PHP Abstract podcast series today - an advanced look at using APIs in PHP from <i>Davey Shafik</i>.
</p>
<blockquote>
Today's special guest is Davey Shafik. Davey Shafik is a full time developer with 10 years experience in PHP and related technologies. He is an author of both books and magazines and no stranger to the regular listeners of PHP Abstract. Today, Davey is going to talk to take an advanced look at APIs.
</blockquote>
<p>
You can grab this latest bit of PHP audio goodness three ways - from the <a href="http://devzone.zend.com/article/3172-PHP-Abstract-Podcast-Episode-35-An-Advanced-Look-at-APIs">on-page player</a>, via a subscription to the <a href="http://feeds.feedburner.com/phpabstract">podcast feed</a> or just by <a href="http://s3.amazonaws.com/php.abstract.2008/php_abstract_episode_035.mp3">downloading the mp3</a>.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 08:25:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Reflecting private properties]]></title>
      <guid>http://www.phpdeveloper.org/news/9645</guid>
      <link>http://www.phpdeveloper.org/news/9645</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has <a href="http://schlitt.info/applications/blog/index.php?/archives/581-Reflecting-private-properties.html">posted a handy tip</a> about using the Reflection API in PHP5 - specifically its accessing of private properties in a class.
</p>
<blockquote>
I recently stumbled over reflecting private properties in PHP again. As you might know, this was not possible until now and if you tried this [code] PHP thanked it to you with this [error that is cannot access a non-public member].
</blockquote>
<p>
He notes that, while the <a href="http://schlitt.info/applications/blog/index.php?/archives/581-Reflecting-private-properties.html">behaviour is correct</a>, it still makes things like <a href="http://schlitt.info/applications/blog/exit.php?url_id=4456&entry_id=581">metaprogramming</a> impossible. So, what's a developer to do? Patch it of course! <i>Tobias</i> and <i>Derick Rethans</i> persuaded two other developers  (<i>Derick</i> and <i>Marcus Borger</i>) to include a patch that allows the Reflection API to see these private variables.
</p>
<p>
To make it work, you have to use the setAccessible method on the Reflection object to set which of the properties you want to be able to get at.
</p>]]></description>
      <pubDate>Fri, 15 Feb 2008 12:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
