Developing PHP the Ajax Way, Part 1: Getting Started
Asynchronous
JavaScript and XML (Ajax), has become the most popular new Web
development technology. This is the first of a new two-part "Developing
PHP the Ajax way" series (2nd part is not posted yet). In
this Ajax tutorial and coding demonstation, you'll develop an
online Web photo album application using PHP and the Simple
Ajax Toolkit (Sajax). It starts be coding a simple photo album
app using the usual method of PHP programming, to which Sajax
is then applied and used to create it into an active Web
application.
This tutorial article teaches the reader how to develop a simple photo album using two methods: a traditional Web application and a Sajax-powered application. The PHP album application reads the contents of a directory, displaying a thumbnail table to the user. When the user selects a thumbnail, the image expands to full size. Because a traditional application is being coded, every click generates a new HTTP request, and parameters are sent within the URL.
Developing PHP the Ajax Way, Part 1: Getting Started
A simple photo album
Here are some more resources from IBM with which you can learn more about how to use PHP, Ajax, and related web development technologies:
Ajax Ebooks and Learning Documents 37 ASP.NET AJAX Video Tutorials Ajax Tutorials 9 Best Ruby On Rails Tutorials from IBM 81 AJAX and 24 JavaScript Ebooks
This tutorial article teaches the reader how to develop a simple photo album using two methods: a traditional Web application and a Sajax-powered application. The PHP album application reads the contents of a directory, displaying a thumbnail table to the user. When the user selects a thumbnail, the image expands to full size. Because a traditional application is being coded, every click generates a new HTTP request, and parameters are sent within the URL.
Developing PHP the Ajax Way, Part 1: Getting Started
A simple photo album
Here are some more resources from IBM with which you can learn more about how to use PHP, Ajax, and related web development technologies:
-
PHP can be installed with built-in GD support. GD can be used, for
example, to generate photo thumbnails. For more information, read the
developerWorks article "Create
graphics the smart way with PHP."
-
Read the five-part "Mastering
Ajax" series on developerWorks for a comprehensive overview
of Ajax.
-
Start with the "Considering
Ajax" series to learn what developers need to know before
using Ajax techniques when creating a Web site.
-
If you aren't familiar with Ajax or Sajax, read "Using
Ajax with PHP and Sajax."
- Be sure to check out "Reading and writing the XML DOM with PHP."
Popularity: 17% [?]
Related Posts:





















