Published on 2006-06-02 18:50:15

Sean Kelly, Web Application Developer from the ID Society, started the first series of articles on the IBM developerWorks titled Developing PHP the Ajax way. In this first part Sean explain how to easily create a simple photo album 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.

http://ajax.phpmagazine.net/upload/2006/06/sajax-album-thumb.png


In this article, you will create a simple photo album using two methods: a traditional Web application and a Sajax-powered application. You will write an album in PHP that reads the contents of a directory, showing the user a table of thumbnails. If the user clicks a thumbnail, the image will expand to full size. Since you will be writing a traditional application, every click will be a new HTTP request, with parameters being passed as part of the URL.

You will learn how to quickly apply the Sajax library to your album and find out why using Sajax will speed up application development.


Related Entries

Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved