21.2. Building a Web Shop

Nowadays Web shops are an essential component of every modern company's business strategy. Web shops are not built just for selling products. In many cases they are also a company's presence on the Web and will help you to present your products to a broad audience. The advantage of Web shops over other types of advertising is that people visit your Web sites to retrieve information—they are not annoyed by advertisements.

In this section you will see how to build shopping carts and how to develop personalized sites. The application consists of two screens. The first one will display the products in the database. The second script will reduce the number of products that are still in the stores, and display a list of all ...

Get PHP and PostgreSQL: Advanced Web Programming 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.