Chapter 23: Other Structural Patterns
Besides the patterns we covered in the previous chapters, there are other structural patterns we can cover: flyweight, model-view-controller (MVC), and proxy. These patterns are different from those discussed in previous chapters. The flyweight pattern is an optimization design pattern that's suitable for memory usage minimization. The MVC pattern, on the other hand, is popular in object-orient programming and is designed to separate different parts of a larger application. Finally, the proxy pattern is used to maintain actions that are taken on important objects.
These three patterns will complete our discussion on structural patterns.
In this chapter, we will cover the following topics:
- Implementing the flyweight pattern
- Implementing the model-view-controller pattern
- Applying the proxy pattern
By the end of this chapter, we will have gained an overall understanding of various structural patterns and the use...