Chapter 6. Working with AJAX Data
In This Chapter
Understanding the advantages of server-side programming
Getting to know PHP
Writing a form for standard PHP processing
Building virtual forms with AJAX
Submitting interactive AJAX requests
Working with XML data
Responding to JSON data
Sending Requests AJAX Style
AJAX work in other parts of this book involves importing a preformatted HTML file. That's a great use of AJAX, but the really exciting aspect of AJAX is how it tightens the relationship between the client and server. Figure 6-1 shows a page called
Figure 6.1. This page gets data from PHP with no form!
Sending the data
The AJAX version of this program is interesting because it has no form. Normally an HTML page that makes a request of a PHP document has a form, and the form requests the PHP page. This page has no form, but ...