Chapter 6. Creating a Shopping Cart

For many developers, the humble shopping cart holds a special place in their hearts. Although PHP and MySQL are the fodder for a range of Web applications, many developers learned their trade with the ambition to write the ubiquitous shopping cart. If there is a Zen to Web development, it is likely to be experienced while writing a shopping cart.

Although a common sight on the Web, shopping carts do come in a variety of different flavors. The various incarnations typically differ in ways that are specific to the type of business using the software. For example, the sale of items such as books, CDs, and DVDs differs from the sale of cables, food, building materials, and janitorial products. The core difference ...

Get Negus Live Linux Series Practical PHP and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.