Specifications

CONTENTS
Solution Overview ..............................................................................542
Implementing the Database ................................................................546
Implementing the Online Catalog ......................................................548
Listing Categories ..........................................................................551
Listing Books in a Category ..........................................................553
Showing Book Details ..................................................................555
Implementing the Shopping Cart ........................................................556
Using the show_cart.php Script ....................................................557
Viewing the Cart ............................................................................560
Adding Items to the Cart ..............................................................563
Saving the Updated Cart ..............................................................565
Printing a Header Bar Summary ..................................................566
Checking Out ................................................................................566
Implementing Payment ......................................................................572
Implementing an Administration Interface ........................................575
Extending the Project ..........................................................................584
Using an Existing System ..................................................................584
Next ....................................................................................................585
26 Building a Content Management System 587
The Problem ........................................................................................588
Solution Requirements ........................................................................588
Editing Content ..................................................................................589
Getting Content into the System ..................................................589
Databases Versus File Storage ......................................................591
Document Structure ......................................................................592
Using Metadata ..................................................................................592
Formatting the Output ........................................................................593
Image Manipulation ............................................................................594
Solution Design/Overview ..................................................................596
Designing the Database ......................................................................598
Implementation ..................................................................................599
Front End ......................................................................................599
Back End ......................................................................................603
Searching ......................................................................................611
Editor Screen ................................................................................614
Extending the Project ..........................................................................615
27 Building a Web-Based Email Service 617
The Problem ........................................................................................618
Solution Components ..........................................................................619
Solution Overview ..............................................................................620
Setting Up the Database ....................................................................622
xix
00 7842 FM 3/6/01 3:38 PM Page xix