From the Author
My goal for the book was to present the broadest range of what it means to perform e-commerce today: a lofty goal, to be sure. To do so, I came up with two concrete and practical e-commerce sites. The first sells virtual goods (namely, access to content). The second sells physical goods. That distinction alone makes a big difference as to how a site is implemented. From there, I continued to distinguish the two examples:
- One requires user registration and login (plus password management); the other doesn't
- One uses PayPal as the payment system; the other integrates Authorize.net directly
- One uses relatively simple PHP and MySQL; the other an MVC approach with MySQL stored procedures
- Only the second site requires inventory management
There was not room for some topics in the book (as a reviewer noted), so I've been writing separate articles and blog postings discussing those. You can find these, and other supplemental material, on my Web site (Amazon doesn't want me posting URLs here, but the Web site is just <my name>.com). As with all my books, I also answer support questions related to the material, or related things you're trying to do, in my support forums.
To be clear, one thing the book does not do is teach PHP or MySQL (or SQL, HTML, and CSS), but rather show how to apply them properly. Comfort with these technologies is assumed, although I would expect even seasoned Web developers will learn some new things. After much debate, I decided not to use object-oriented programming or frameworks in the book, although I do intend to write up supplemental material showing how some of the examples and code would be translated into an OOP or framework version.
Thanks for your interest in the book. It is appreciated. And if you purchase it, I hope you like it and find it to be useful and informative.