- Adding HTML Content.html - Load documents using the HttpClient wrapper and update the page using innerHTML
- DOMExample.html - Load XML using the HttpClient wrapper, update the page using DOM manipulation, uses PhpResources.xml and BookSellers.xml
- XSLTExample.html - Load XML using the HttpClient wrapper, update the page sing XSLT, uses PhpResources.xml and BookSellers.xml
- rpc-basic-plain.html - Make an AJAX rpc call, no encoding used on data uses rpc-basic-plain.php
- ajax-form.html - Submit a form normally, as an AJAX request, or as an AJAX request to a PHP function uses ajax-form.php for AJAX form submission, rpc-basic-urlencoded.html for rpc calls
- rpc-xml-javascript.html - Make an AJAX rpc call, data is sent to the server as XML and returned as JavaScript
- rpc-xml.html - Make an AJAX rpc call, data is sent to the server as XML and returned as XML which is used to call a JavaScript function
For XML examples XML_Serializer is used on the PHP side, you can install it by running pear install --alldeps XML_Serializer-beta
Sarissa is used for the XSLT examples, the HttpClient.js wrapper from Chapter 2 is used throughout.