Chapter 2. Planning our Framework

Now that we know more about what we are here to do, it is time to start planning our framework to ensure we get it off to the right start. In this chapter, you will learn:

  • About design and architectural patterns in PHP, including:
    • Model-View-Controller
    • Registry
    • Singleton
  • How to structure an extendable framework
  • How the framework should work with settings for the site and e-commerce setups it powers

Let us start by designing our framework, and then building it based on our ideas for its design.

Designing a killer framework

There are many different ways to design and build frameworks. Some involve building very complicated frameworks, and others involve creating simple ones. In this book, we are going to quickly build an ...

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.