Structural Design Patterns
In the previous chapter, we covered creational patterns and object-oriented programming patterns that help us with object-creation procedures. The next category of pattern we want to present is structural design patterns. A structural design pattern proposes a way of composing objects to provide new functionality.
In this chapter, we’re going to cover the following main topics:
- The adapter pattern
- The decorator pattern
- The bridge pattern
- The facade pattern
- The flyweight pattern
- The proxy pattern
At the end of this chapter, you will be equipped with the skills to structure your code efficiently and elegantly using structural design patterns.