PacktLib: AJAX and PHP: Building Modern Web Applications 2nd Edition

AJAX and PHP

Credits

About the Authors

About the Reviewer

Preface

The World of AJAX and PHP

The big picture

Building websites since 1990

The world of AJAX

Setting up your environment

Building a simple application with AJAX and PHP

Summary

JavaScript and the AJAX Client

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

Summary

Object Oriented JavaScript

Why is OOP in JavaScript important?

Object-oriented programming concepts

Object-oriented programming with JavaScript

JavaScript OOP in practice: Introducing JSON

Summary

Using PHP and MySQL on the Server

PHP, DOM, and XML

PHP and JSON

Passing parameters and handling PHP errors

Working with MySQL

Summary

AJAX Form Validation

Implementing AJAX form validation

XMLHttpRequest, version 2

AJAX form validation

Summary

Debugging and Profiling AJAX Applications

Debugging and profiling with Internet Explorer

Debugging and profiling with Firefox

Summary

Advanced Patterns and Techniques

Predictive fetching pattern

Progress indicator pattern

Unobtrusive JavaScript

Progressive enhancement and graceful degradation

Asynchronous file upload with AJAX

Cross-domain calls

Cross-site request forgery

Cross-site scripting

Summary

AJAX Chat with jQuery

Chatting using AJAX

jQuery

AJAX chat

Summary

AJAX Grid

Implementing the AJAX data grid

Summary

Preparing Your Working Environment

Preparing Your Working Environment

Preparing Your Working Environment

Index