Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
AJAX and PHP
Table of Contents
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
Downloading the Example Code for the Book
Errata
Questions
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Questions
Downloading the Example Code for the Book
Errata
Questions
Chapter 1: AJAX and the Future of Web Applications
Delivering Functionality via the Web
Advantages of Web Applications
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?
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
Summary
Delivering Functionality via the Web
Advantages of Web Applications
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?
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
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
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Working with XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Summary
JavaScript and the Document Object Model
JavaScript Events and the DOM
Even More DOM
JavaScript, DOM, and CSS
Using the XMLHttpRequest Object
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Working with XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Summary
Chapter 3: Server-Side Techniques with 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
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Wrapping Things Up and Laying Out the Structure
Summary
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
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Wrapping Things Up and Laying Out the Structure
Summary
Chapter 4: AJAX Form Validation
Implementing AJAX Form Validation
Thread-Safe AJAX
Thread-Safe AJAX
Summary
Implementing AJAX Form Validation
Thread-Safe AJAX
Thread-Safe AJAX
Summary
Chapter 5: AJAX Chat
Introducing AJAX Chat
Implementing AJAX Chat
Summary
Introducing AJAX Chat
Implementing AJAX Chat
Summary
Chapter 6: AJAX Suggest and Autocomplete
Introducing AJAX Suggest and Autocomplete
Google Suggest
Google Suggest
Implementing AJAX Suggest and Autocomplete
Summary
Introducing AJAX Suggest and Autocomplete
Google Suggest
Google Suggest
Implementing AJAX Suggest and Autocomplete
Summary
Chapter 7: AJAX Real-Time Charting with SVG
Implementing a Real-Time Chart with AJAX and SVG
Summary
Implementing a Real-Time Chart with AJAX and SVG
Summary
Chapter 8: AJAX Grid
Implementing the AJAX Grid Using Client-Side XSLT
Summary
Implementing the AJAX Grid Using Client-Side XSLT
Summary
Chapter 9: AJAX RSS Reader
Working with RSS
The RSS Document Structure
Google Reader
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Summary
Working with RSS
The RSS Document Structure
Google Reader
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Summary
Chapter 10: AJAX Drag and Drop
Using Drag and Drop on the Web
Shopping Carts
Sortable Lists
Shopping Carts
Sortable Lists
Building the AJAX Drag-and-Drop Sortable List Application
Summary
Using Drag and Drop on the Web
Shopping Carts
Sortable Lists
Shopping Carts
Sortable Lists
Building the AJAX Drag-and-Drop Sortable List Application
Summary
Appendix A: Preparing Your Working Environment
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Installing phpMyAdmin
Preparing the AJAX Database
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Installing phpMyAdmin
Preparing the AJAX Database
Index
Table of Contents
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
Downloading the Example Code for the Book
Errata
Questions
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Questions
Downloading the Example Code for the Book
Errata
Questions
Chapter 1: AJAX and the Future of Web Applications
Delivering Functionality via the Web
Advantages of Web Applications
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?
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
Summary
Delivering Functionality via the Web
Advantages of Web Applications
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?
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
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
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Working with XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Summary
JavaScript and the Document Object Model
JavaScript Events and the DOM
Even More DOM
JavaScript, DOM, and CSS
Using the XMLHttpRequest Object
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Creating the XMLHttpRequest Object
Creating Better Objects for Internet Explorer
Creating Better Objects for Internet Explorer
Initiating Server Requests Using XMLHttpRequest
Handling Server Response
Working with XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Handling More Errors and Throwing Exceptions
Creating XML Structures
Summary
Chapter 3: Server-Side Techniques with 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
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Wrapping Things Up and Laying Out the Structure
Summary
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
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Creating Database Tables
Manipulating Data
Connecting to Your Database and Executing Queries
Wrapping Things Up and Laying Out the Structure
Summary
Chapter 4: AJAX Form Validation
Implementing AJAX Form Validation
Thread-Safe AJAX
Thread-Safe AJAX
Summary
Implementing AJAX Form Validation
Thread-Safe AJAX
Thread-Safe AJAX
Summary
Chapter 5: AJAX Chat
Introducing AJAX Chat
Implementing AJAX Chat
Summary
Introducing AJAX Chat
Implementing AJAX Chat
Summary
Chapter 6: AJAX Suggest and Autocomplete
Introducing AJAX Suggest and Autocomplete
Google Suggest
Google Suggest
Implementing AJAX Suggest and Autocomplete
Summary
Introducing AJAX Suggest and Autocomplete
Google Suggest
Google Suggest
Implementing AJAX Suggest and Autocomplete
Summary
Chapter 7: AJAX Real-Time Charting with SVG
Implementing a Real-Time Chart with AJAX and SVG
Summary
Implementing a Real-Time Chart with AJAX and SVG
Summary
Chapter 8: AJAX Grid
Implementing the AJAX Grid Using Client-Side XSLT
Summary
Implementing the AJAX Grid Using Client-Side XSLT
Summary
Chapter 9: AJAX RSS Reader
Working with RSS
The RSS Document Structure
Google Reader
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Summary
Working with RSS
The RSS Document Structure
Google Reader
The RSS Document Structure
Google Reader
Implementing the AJAX RSS Reader
Summary
Chapter 10: AJAX Drag and Drop
Using Drag and Drop on the Web
Shopping Carts
Sortable Lists
Shopping Carts
Sortable Lists
Building the AJAX Drag-and-Drop Sortable List Application
Summary
Using Drag and Drop on the Web
Shopping Carts
Sortable Lists
Shopping Carts
Sortable Lists
Building the AJAX Drag-and-Drop Sortable List Application
Summary
Appendix A: Preparing Your Working Environment
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Installing phpMyAdmin
Preparing the AJAX Database
Preparing Your Windows Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Preparing Your *nix Playground
Installing Apache
Installing MySQL
Installing PHP
Installing Apache
Installing MySQL
Installing PHP
Installing phpMyAdmin
Preparing the AJAX Database
Index
← Prev
Back
Next →
← Prev
Back
Next →