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.

816 Chapter 33 Connecting to <strong>Web</strong> Services with XML <strong>and</strong> SOAP<br />

A brief piece of terminology before we go further: Amazon refers to categories as<br />

browse nodes.You will see this expression used throughout our code <strong>and</strong> the official documentation.<br />

The documentation provides a list of popular browse nodes. In addition, if you want a<br />

particular one, you can browse the normal Amazon.com site <strong>and</strong> read it from the URL,<br />

you can use the Browse Nodes resource at http://www.browsernodes.com/.<br />

Frustratingly, some important categories, such as best-selling books, cannot be accessed as<br />

browse nodes.<br />

More books <strong>and</strong> links to additional pages are available at the bottom of this page, but<br />

you can’t see them in the screenshot.You will display 10 books on each page, along with<br />

links to up to 30 other pages.This 10-per page value is set by Amazon.The 30-page<br />

limit was our own arbitrary choice.<br />

From here, users can click through to detailed information on individual books. This<br />

screen is shown in Figure 33.2.<br />

Figure 33.2<br />

The details page shows more information about a particular<br />

book, including similar products <strong>and</strong> reviews.

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

Saved successfully!

Ooh no, something went wrong!