<?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>Sat, 25 May 2013 17:53:13 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Developing PHP the Ajax way, Part 1 - Getting started]]></title>
      <guid>http://www.phpdeveloper.org/news/5489</guid>
      <link>http://www.phpdeveloper.org/news/5489</link>
      <description><![CDATA[<p>
IBM developerWorks has posted <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-rad1/?ca=dgr-lnxw06PHP-SAJAX">this new tutorial, the first part in a two-part series looking at the development of a PHP/Ajax application using Saxjax.
</p>
<quote>
<i>
Asynchronous JavaScript and XML (Ajax), is arguably the most popular new Web technology. In this two-part "<a href="http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=developing+php+ajax+way">Developing PHP the Ajax way</a>" series, you will create a simple photo album as an online Web application, entirely in PHP and the Simple Ajax Toolkit (Sajax). You'll begin by writing a simple photo album using the standard method of PHP development and later apply Sajax to make it an active Web application.
</i>
</quote>
<p>
There's no hesitation on their part - they just <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-rad1/?ca=dgr-lnxw06PHP-SAJAX">jump right in</a> and start in with the image pager class to handle the display of a number of images at a time. The files are stored in a directory on the local filesystem (as they should be) and pulling them in is just a matter of reading the directory. They integrate in basic back/forward and the ability to enlarge the images and the basic gallery is complete.
</p>
<p>
Now, it's time for the fun stuff - they take the processing that the PHP script was doing to grab the files/display them/etc and move it to the backend, replacing it with a simple Ajax call to another PHP file to grab the image information to display. They even finish off this part of the series with a method for implementing metadata for the images, an XML file with a summary of the file's attributes, date taken - anything you want, really.
</p>]]></description>
      <pubDate>Thu, 01 Jun 2006 06:44:56 -0500</pubDate>
    </item>
  </channel>
</rss>
