Book review: PHP 5 E-commerce Development

9645_MockupCoverOnce again, Packt Publishing has asked me to do a book review on one of their latest books, "PHP 5 E-commerce Development” by Michael Peacock. The book promises the following:

  • Build a flexible e-commerce framework using PHP, which can be extended and modified for the purposes of any e-commerce site
  • Enable customer retention and more business by creating rich user experiences
  • Develop a suitable structure for your framework and create a registry to store core objects
  • Promote your e-commerce site using techniques with APIs such as Google Products or Amazon web services, SEO, marketing, and customer satisfaction

All of this is true, but…

  1. The book does not make use of an existing framework. There are tons of them out there, so why re-invent the wheel to do specific tasks if someone already did that and tested and fine-tuned it.
  2. The book does make use of a custom, application-specific framework. However, the design of the framework is not clean enough in my opinion. It is based on MVC, yet it does have some portions of code that are sitting in the wrong place… SQL code in the controllers, no real abstraction of the data layer, …
  3. Inexperienced PHP developers will not learn the best-practices from this book.

Not all is negative of course! The writing style is good and provides an easy read. Next to that, all concepts and pitfalls that go with building an online commerce site are well explained. Still, my advise on this book would not be “buy it”.

This is an imported post. It was imported from my old blog using an automated tool and may contain formatting errors and/or broken images.

Leave a Comment