更新时间:2021-04-29 19:04:34
封面
书名页
AJAX and PHP
Credits
About the Authors
About the Reviewers
Preface
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Chapter 1. AJAX and the Future of Web Applications
Delivering Functionality via the Web
Building Websites Since 1990
Understanding AJAX
Building a Simple Application with AJAX and PHP
Summary
Chapter 2. Client-Side Techniques with Smarter JavaScript
JavaScript and the Document Object Model
JavaScript Events and the DOM
Even More DOM
JavaScript DOM and CSS
Using the XMLHttpRequest Object
Working with XML Structures
Chapter 3. Server-Side Techniqueswith PHP and MySQL
PHP and DOM
Passing Parameters and Handling PHP Errors
Connecting to Remote Servers and JavaScript Security
Using a Proxy Server Script
A Framework for Making Repetitive Asynchronous Requests
Working with MySQL
Wrapping Things Up and Laying Out the Structure
Chapter 4. AJAX Form Validation
Implementing AJAX Form Validation
Thread-Safe AJAX
Chapter 5. AJAX Chat
Introducing AJAX Chat
AJAX Chat Solutions
Implementing AJAX Chat
Chapter 6. AJAX Suggest and Autocomplete
Introducing AJAX Suggest and Autocomplete
Google Suggest
Implementing AJAX Suggest and Autocomplete
Chapter 7. AJAX Real-Time Charting with SVG
Implementing a Real-Time Chart with AJAX and SVG
Chapter 8. AJAX Grid
Implementing the AJAX Grid Using Client-Side XSLT
Chapter 9. AJAX RSS Reader
Working with RSS
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Chapter 10. AJAX Drag and Drop
Using Drag and Drop on the Web
Shopping Carts
Sortable Lists
Building the AJAX Drag-and-Drop Sortable List Application
Appendix A. Preparing Your Working Environment
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing phpMyAdmin
Preparing the AJAX Database
Index