본문 바로가기

Learning Python Design Patterns6

The Proxy Pattern The Proxy Pattern – Controlling Object Access In the previous chapter, we started with a brief introduction to Structural patterns and went ahead to discuss about the Façade design pattern. We understood the concept of Façade with a UML diagram and also learned how it's applied in the real world with the help of Python implementations. You learned about the upsides and downsides of the Façad.. 2023. 3. 29.
The Façade Pattern The Façade Pattern – Being Adaptive with Façade In the previous chapter, you learned about the Factory design pattern. We discussed about three variations—Simple Factory, Factory method, and Abstract Factory pattern. You also learned how each of them is used in the real world and looked at Python implementations. We also compared the Factory method with Abstract Factory patterns and listed the p.. 2023. 3. 29.
The Factory Pattern The Factory Pattern – Building Factories to Create Objects In the previous chapter, you learned about Singleton design patterns—what they are and how they are used in the real world along with the Python implementation. The Singleton design pattern is one of the Creational design patterns. In this chapter, we move ahead and learn about another creational pattern, the Factory pattern. The Factory.. 2023. 3. 29.
The Singleton Design Pattern The Singleton Design Pattern In the previous chapter, we explored design patterns and their classifications. As we are aware, design patterns can be classified under three main categories: structural, behavioral, and creational patterns. In this chapter, we will go through the Singleton design pattern—one of the simplest and well-known Creational design patterns used in application development. .. 2023. 3. 29.
Introduction to Design Patterns Topics in this chapter: Understanding object-oriented programming Discussing object-oriented design principles Understanding the concept of design patterns and their taxonomy and context Discussing patterns for dynamic languages Classifying patterns—creational pattern, structural pattern, and behavioral pattern Understanding object-oriented programming Before you start learning about design patt.. 2023. 3. 29.
Index What this book covers Chapter 1, Introduction to Design Patterns, goes through the basics of object-oriented programming and discusses object-oriented design principles in detail. This chapter gives a brief introduction to the concept of design patterns so that you will be able to appreciate the context and application of design patterns in software development. Chapter 2, The Singleton Design P.. 2023. 3. 29.