A.14. PHP Ajax Frameworks
AJASON (http://ajason.sourceforge.net/) is a PHP-based framework.
A.14.2. AjaxAC (from April, 2005)
AjaxAC (http://ajax.zervaas.com.au/) encapsulates the entire application in a single PHP class.
Built-in functionality for creating subrequests and handling them.
Allows for custom configuration values, so certain elements can be set at runtime.
Easy to integrate with templating engine.
Easy to hook in to existing PHP classes or MySQL databases for returning data from subrequests.
Open source license (Apache 2.0) by Zervaas Enterprises (http://ajax.zervaas.com.au/).
Simple server-side programming
Handler for server-side events
A suggest handler like Google's
Plugin for multiple selects (like country/state/city)
Plugin for submitting forms though XMLHTTPRequest
Open source library (LGPL) by Thiago Pappacena
A.14.4. HTS Web Application Framework
HTSWaf (http://www.htsdesign.com/index.php?§ion=htswaf&page=index) provides seamless client-to-server event handling.
Visit the web site for more info and examples (http://www.htsdesign.com/index.php?§ion=htswaf&page=index).
Currently in demo stage, by Bert Rosell.
Open source license
Open source license (LGPL) by multiple contributors.
Symfony (http://www.symfony-project.com) integrates a server-side Ajax layer together with helpers "à la" script.aculo.us, to provide an easy way to build Ajax applications in PHP.
A step-by-step tutorial is available (http://www.symfony-project.com/tutorial/symfony_ajax.html) describing the creation of an interactive shopping cart. This demonstrates the tight integration of prototype, script.aculo.us, and the MVC model.
The Advent Calendar initiative (http://www.symfony-project.com/askeet) illustrates how to build a real Ajax application in 24 short tutorials, complete with downloadable code. Interactive form submission, Folksonomy, and visual effects are some of the Ajax features of the askeet web site (http://www.askeet.com) they are building live. A must see.
Open source license (MIT License), sponsored by Sensio.
The response is created using the XAJAX response object, which provides numerous commands, such as assigning HTML to an element, displaying an alert, and more. Custom script output is also supported.
All browser-specific code (such as using XMLHttpRequest) is abstracted, and sending various types of data to the server (including form submission via Ajax) is very easy to accomplish.
It supports a number of configuration options to allow easy integration with existing web apps and frameworks.
Well-supported via forums and a new wiki with documentation and tutorials.
Open source license (LGPL) by J. Max Wilson and Jared White.
A.14.10. XOAD (formerly NAJAX)
XOAD (http://www.xoad.org) is a PHP-based Ajax/XAP object-oriented framework.
It uses JSON Messages and native PHP serialized objects to communicate.
Special attention has been paid to security.
Supports server-side events (Distributed Events [Chapter 10]).
Supports client-side events (XOAD Events).
Supports server and client extensions.
Supports HTML manipulation (extension).
Supports caching (extension).
Each class, method and variable is documented.
Provides easy tutorials to get started using XOAD.
Provides examples that demonstrate various functionality.
Won the PHP Programming Innovation Award of August of 2005 (http://www.phpclasses.org/winners.html).
Open source license (PHP 3.0 license) by Stanimir Angeloff.