Table of Contents

Part I: A Refresher on Web Technologies

Part II: Introducing Ajax

Part III: More Complex Ajax Technologies

Part IV: Commercial and Open Source Ajax Resources

SAMS Teach Yourself Ajax in 10 Minutes

Table of Contents

Copyright

About the Author

Acknowledgments

We Want to Hear from You!

Reader Services

Introduction

About This Book

What Is Ajax?

Who This Book Is For

What Do I Need To Use This Book?

Conventions Used in This Book

Online Resources and Errata

Part I: A Refresher on Web Technologies

Lesson 1. Anatomy of a Website

A Short History of the Web

Workings of the World Wide Web

Summary

Lesson 2. Writing Web Pages in HTML

Introducing HTML

Elements of an HTML Page

A More Advanced HTML Page

Some Useful HTML Tags

Cascading Style Sheets in Two Minutes

Lesson 3. Sending Requests Using HTTP

Introducing HTTP

The HTTP Request and Response

HTML Forms

Lesson 4. Client-Side Coding Using JavaScript

About JavaScript

In at the Deep End

Manipulating Data in JavaScript

Lesson 5. Server-Side Programming in PHP

Introducing PHP

Embedding PHP in HTML Pages

Variables in PHP

Controlling Program Flow

Lesson 6. A Brief Introduction to XML

Introducing XML

XML Basics

JavaScript and XML

The Document Object Model (DOM)

Part II: Introducing Ajax

Lesson 7. Anatomy of an Ajax Application

The Need for Ajax

Introducing Ajax

The Constituent Parts of Ajax

Putting It All Together

Lesson 8. The XMLHTTPRequest Object