售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
AJAX and PHP
Table of Contents
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
Downloading the Example Code for the Book
Errata
Questions
1. AJAX and the Future of Web Applications
Delivering Functionality via the Web
Advantages of Web Applications
Building Websites Since 1990
HTTP and HTML
PHP and Other Server-Side Technologies
JavaScript and Other Client-Side Technologies
What’s Been Missing?
Understanding AJAX
Building a Simple Application with AJAX and PHP
Time for Action—Quickstart AJAX
What Just Happened?
Summary
2. Client-Side Techniques with Smarter JavaScript
JavaScript and the Document Object Model
Time for Action—Playing with JavaScript and the DOM
What Just Happened?
JavaScript Events and the DOM
Time for Action—Using JavaScript Events and the DOM
What Just Happened?
Even More DOM
Time for Action—Even More DOM
What Just Happened?
JavaScript, DOM, and CSS
Time for Action—Working with CSS and JavaScript
What Just Happened?
Using the XMLHttpRequest Object
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Time for Action—Making Asynchronous Calls with XMLHttpRequest
What Just Happened?
Working with XML Structures
Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
What Just Happened?
Handling More Errors and Throwing Exceptions
Creating XML Structures
Summary
3. Server-Side Techniqueswith PHP and MySQL
PHP and DOM
Time for Action—Doing AJAX with PHP
What Just Happened?
Passing Parameters and Handling PHP Errors
Time for Action—Passing PHP Parameters and Error Handling
What Just Happened?
Connecting to Remote Servers and JavaScript Security
Time for Action—Connecting to Remote Servers
What Just Happened?
Using a Proxy Server Script
Time for Action—Using a Proxy Server Script to Access Remote Servers
What Just Happened?
A Framework for Making Repetitive Asynchronous Requests
Time for Action—Implementing Repetitive Tasks
What Just Happened?
Working with MySQL
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Time for Action—Working with PHP and MySQL
What Just Happened?
Wrapping Things Up and Laying Out the Structure
Time for Action—Building the Friendly Application
What Just Happened?
Summary
4. AJAX Form Validation
Implementing AJAX Form Validation
Thread-Safe AJAX
Time for Action—AJAX Form Validation
What Just Happened?
Summary
5. AJAX Chat
Introducing AJAX Chat
AJAX Chat Solutions
Implementing AJAX Chat
Time for Action—Ajax Chat
What just happened?
Summary
6. AJAX Suggest and Autocomplete
Introducing AJAX Suggest and Autocomplete
Google Suggest
Implementing AJAX Suggest and Autocomplete
Time for Action—;AJAX Suggest and Autocomplete
What Just Happened?
Summary
7. AJAX Real-Time Charting with SVG
Implementing a Real-Time Chart with AJAX and SVG
Time for Action—Building the Real-Time SVG Chart
What Just Happened?
Summary
8. AJAX Grid
Implementing the AJAX Grid Using Client-Side XSLT
Time for Action—AJAX Grid
What Just Happened?
Summary
9. AJAX RSS Reader
Working with RSS
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Time for Action—Building the RSS Reader Application
What Just Happened?
Summary
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
Time for Action—Task Management Application with AJAX
What Just Happened?
Summary
A. Preparing Your Working Environment
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing Apache
Installing MySQL
Installing PHP
Installing phpMyAdmin
Preparing the AJAX Database
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜