Shopping Cart/Checkout Design
Posted: Tue May 09, 2006 1:30 am
I was wondering if anyone could point me in the direction of a good book or information on the web or any information for a shopping cart and checkout pages down in PHP with a MYSQL DB. I am mainly concerned about the design, but it would be nice to see some code. I want to build something solid and logical. Something that is easy to maintain and also easy to troubleshoot. I don't want to just throw up some procedural code that is ugly and only works part of the time. I want to do it right from the begginning and design it right before I start any code. Questions I am having deal with things like how much information to store in the session object verses storing in a temp database. How to correctly handle errors in PHP. What kind of database schema to use. I am not running PHP 5, but how realistic is it to use object oriented classes? Thanks for any help you can provide.