13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

xxxiii<br />

Solution Overview 815<br />

Core Application 820<br />

Showing Books in a Category 826<br />

Getting an AmazonResultSet Class 828<br />

Using REST to Make a Request <strong>and</strong> Retrieve a<br />

Result 838<br />

Using SOAP to Make a Request <strong>and</strong> Retrieve a<br />

Result 845<br />

Caching the Data from a Request 846<br />

Building the Shopping Cart 849<br />

Checking Out to Amazon 852<br />

Installing the Project Code 853<br />

Extending the Project 854<br />

Further Reading 854<br />

34 Building <strong>Web</strong> 2.0 Applications with<br />

Ajax 855<br />

What Is Ajax? 856<br />

HTTP Requests <strong>and</strong> Responses 856<br />

DHTML <strong>and</strong> XHTML 857<br />

Cascading Style Sheets (CSS) 858<br />

Client-Side Programming 859<br />

Server-Side Programming 860<br />

XML <strong>and</strong> XSLT 860<br />

Fundamental Ajax 860<br />

The XMLHTTPRequest Object 860<br />

Communicating with the Server 862<br />

Working with the Server Response 864<br />

Putting It All Together 866<br />

Adding Ajax Elements to Earlier Projects 870<br />

Adding Ajax Elements to <strong>PHP</strong>bookmark 870<br />

For More Information 884

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!