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.

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

Figure 33.4<br />

From the shopping cart page, the customer can delete items,<br />

clear the cart, or check out.<br />

Finally, when a customer checks out by clicking on one of the Checkout links, you send<br />

the details of her shopping cart to Amazon <strong>and</strong> take her there. She will see a page similar<br />

to the one in Figure 33.5.<br />

You should now underst<strong>and</strong> what we mean by building your own front end <strong>and</strong><br />

using Amazon as the back end.<br />

Because this project also uses the event-driven approach, most of the core decisionmaking<br />

logic of the application is in one file, index.php. A summary of the files in the<br />

application is shown in Table 33.1.

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

Saved successfully!

Ooh no, something went wrong!