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