Blog Post RSS ?

Blogs » Open Source » PHP5 and MySQL E-Commerce
 

PHP5 and MySQL E-Commerce

by Blane Warrene

December often provides a little extra time to catch up on my reading, and one of those books this year is the new Beginning PHP5 and MySQL e-Commerce (Apress) by Cristian Darie and Mihai Bucica.

Being in the process of moving some development systems to PHP 5, I have been soaking up texts on what’s new with PHP5 as it interacts with Apache, MySQL and the rest of the Linux and Mac OS X atmosphere. This work fit right in, and also serves as a fantastic primer for anyone joining the fray in designing and developing online commerce solutions.

Darie and Bucica are directly addressing the newer and intermediate PHP programmer with their effort – a fairly substantial audience. Probably the single best accomplishment in this book is prepping the developer with some foundation theory on e-commerce architecture as well as a brief but excellent primer on project management as an appendix.

The presentation of a three-tier architecture of presentation, business and data layers offers a concise platform roadmap, especially for new developers, to start on the right footing. While there may be many approaches to architecting a web application — this method works well for online store solutions small to large.

In between, the authors present a clear case and extended ‘how-to’ for assembling an online store which ultimately offers comprehensive services including real-time credit card authorization, alternate PayPal processing, web administration of orders, product reviews as content within store listings and more.

I consider the chapter on implementing dynamic product recommendations priceless. Assembling a “customers who bought this also bought..” function is very slick (and Amazon.com-like!). Being a consumer I have found those recommendations right on point at some of my favorite online shops.

Beginning with the framework of a web site, they present an excellent case for using Smarty templates and plug-ins – a potential huge timesaver and productivity tool for endeavors of this nature. Throughout the book are complete and relevant code examples, sometimes sorely missing from other publications. Apress also offers a source code download of everything presented in the text online.

Wrapping up with good overview of web services by way of the familiar SOAP (Simple Object Access Protocol) or perhaps the less familiar (to some) REST (Representational State Transfer) will have the developer connecting to Amazon.com’s web services features. One can take knowledge from these exercises and leverage them with other web services resources using either method.

What may be missing is perhaps a solid brief as an appendix on the changes to PHP5 and Apache 2. This primarily for those who have spent an extended period of time working with former versions of both. There are plenty of texts and resources dedicated to documenting these changes – however it would have really rounded out an otherwise excellent offering.

The book sells for $44.99 at the publisher’s site.

Table of Contents:

PART 1 – Phase I of Development
Chapter 1 – Starting an E-Commerce Site
Chapter 2 – Laying Out the Foundations
Chapter 3 – Creating the Product Catalog: Part I
Chapter 4 – Creating the Product Catalog: Part II
Chapter 5 – Searching the Catalog
Chapter 6 – Receiving Payments Using PayPal
Chapter 7 – Catalog Administration

PART 2 – Phase II of Development
Chapter 8 – The Shopping Basket
Chapter 9 – Dealing with Customer Orders
Chapter 10 – Product Recommendations

PART 3 – Phase III of Development
Chapter 11 – Customer Details
Chapter 12 – Implementing the Order Pipeline: Part I
Chapter 13 – Implementing the Pipeline: Part II
Chapter 14 – Credit Card Transactions
Chapter 15 – Product Reviews
Chapter 16 – Connecting to Web Services

Part 4 – Appedixes
Appendix A – Installing Apache, PHP, MySQL, and phpMyAdmin
Appendix B – Hosting the Web Site
Appendix C – Project Management Considerations

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. Ready for PHP & MySQL Week at SitePoint? To celebrate the release of the new edition of well-loved...
  2. How to Install MySQL Installing MySQL is easier than you think. Craig provides a...
  3. MySQL: the Pros and Cons of InnoDB Tables Craig discusses why the lesser-used MySQL InnoDB table engine might...
  4. MySQL: the Pros and Cons of MyISAM Tables MySQL offers several database table types, but which is suitable...
  5. Free Performance with MySQL Table Types Last week, SitePoint launched its second Twitaway, giving away a...

This post has 9 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...