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

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.

Database

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:

Table

Description

Content

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

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