Building products, categories, and content functionality into our framework

Now that we know the data we need to store, we now need to think about exactly how we will store this data, and how we will manage and access it from within our framework.


The first stage is to design the relevant database tables. Then we can develop our framework to query the database and render the relevant data. We know roughly the data we need to store for each of our content types which we have discussed; let us now translate that into a database structure. First, let's review what tables we will need in our database:




To store references to the active version of content as well as some information on content that doesn't change ...

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.