Phew! We certainly covered a lot of theory on design patterns; let's take a breather and recap what you've learned throughout this chapter.
We kicked off with an introduction to what design patterns are and how they came about; we then moved on to exploring the benefits of using them and why we should consider using them within our projects.
Next up came a look at the structure of a design pattern, where we broke down a typical design into its different elements and saw what role each element plays in the scheme of the design. We also looked at how to categorize design patterns into different types, namely Creational, Structural, and Behavioral.
We then moved on to take a look at a number of common design patterns, where we went through what each type does and examined some examples of how we will use them. We then looked at the benefits and drawbacks of each of the design patterns covered throughout this chapter, before finishing up with a look at how some of these patterns are actually...