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

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 ...

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