O'Reilly logo

PHP 5 e-commerce Development by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What about e-commerce?

Looking at frameworks is important; however, we haven't really covered anything specific to e-commerce yet. So where does e-commerce fit into this? Most of our e-commerce functionality fits into this by adding models and controllers that perform the relevant e-commerce tasks we require, such as managing products, handling the order processing and checkout process, and so on.

An e-commerce registry?

One thing that we could consider is an e-commerce registry. We could perhaps have our shopping basket as a registry, containing a collection of products. This would make it simple for each page to access the shopping basket and return the number of items contained within. For the framework we are going to create in this book, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required