14. Example—E-Commerce
In this, the final chapter of the book, I’ll develop one last Web application, an e-commerce site. Despite the recent economic slump and the devaluation of Web sites, e-commerce still plays a vital role on the Internet and is a prominent use of PHP and MyBSQL.
In this example, I’ll design a site for the purpose of selling prints of art. Unfortunately, to write and explain the entire application would require a book in itself. Furthermore, some aspects of e-commerce—like how you handle the money—are extremely particular to each individual site. Trying to demonstrate such a process would be a waste of space. With these restrictions in mind, the focus in this chapter is on the core functionality of an e-commerce site: populating ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access