"Building a Web Site with Ajax: Visual QuickProject" Table of Contents

  • introduction
    • how Ajax works
    • what you’ll learn
    • how this book works
    • required tools
    • companion web site
    • the next step
  • 1. access MySQL
    • access MySQL
    • make the database
    • make the tables
    • populate the tables
    • extra bits
  • 2. browsing employees
    • what we’ll do
    • create an HTML page
    • add the HTML form
    • start a PHP page
    • print the employees
    • report on any errors
    • connect to the database
    • create a style sheet
    • use the style sheet
    • test the pages
    • extra bits
  • 3. browsing using Ajax
    • what we’ll do
    • make a function
    • check for Ajax support
    • call the function
    • set up the Ajax
    • begin the PHP page
    • print the employees
    • handle the response
    • display the results
    • modify the HTML
    • test the Ajax layer
    • extra bits
  • 4. adding records
    • what we’ll do
    • start the HTML page
    • add the form
    • add the form elements
    • start a PHP page
    • validate the form data
    • update the database
    • report any errors
    • test the non-Ajax version
    • extra bits
  • 5. adding records via Ajax
    • what we’ll do
    • add the Ajax elements
    • apply the Ajax layer
    • set up the Ajax
    • prepare the form data
    • complete the function
    • prepare for HTML
    • validate the form data
    • update the database
    • complete the XML
    • handle the response
    • prepare the page
    • handle the XML
    • display the results
    • test the Ajax layer
    • extra bits
  • 6.: creating a search
    • what we’ll do
    • start the HTML page
    • add the form
    • start a PHP page
    • query the database
    • print the results
    • report any errors
    • test the non-Ajax version
    • extra bits
  • 7. enabling an Ajax search
    • what we’ll do
    • add the Ajax elements
    • apply the Ajax layer
    • set up the Ajax
    • complete the function
    • prepare for XML
    • query the database
    • fetch the results
    • complete the PHP
    • handle the response
    • prepare the page
    • handle the XML
    • display the results
    • handle the name
    • handle the department
    • handle the email
    • display no results
    • complete the function
    • test the Ajax layer
    • extra bits
  • appendix
    • Ajax issues
    • Ajax alternatives
    • introducing JSON
    • sending JSON
    • accessing JSON data
    • using JSON data
    • web resources
    • JavaScript frameworks
    • PHP-Ajax frameworks
    • debugging JavaScript
    • extra bit