Chapter 3. Products and Categories

With a basic structure to our framework in place, we can now start to think about the e-commerce aspects to it. In this chapter you will learn:

  • How to structure content within the framework, including:
    • Page structure
    • Product structure
    • Categories structure
  • How to access and display products and categories with models and controllers
  • How to design views to interact with our framework

As we discussed in Chapter 1, PHP e-commerce, Juniper Theatricals requires a framework to power their website as well as the e-commerce features, so page management is a must.

What we need

Before we start building products and categories into our framework, let's think about what information we need, both to display to our customers and for ...

Get PHP 5 e-commerce Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.