Key Features
Book Description
This book is for Python programmers with an intermediate background and an interest in design patterns implemented in idiomatic Python. Programmers of other languages who are interested in Python can also benefit from this book, but it would be better if they first read some introductory materials that explain how things are done in Python.What you will learn
- Explore Factory Method and Abstract Factory for object creation
- Clone objects using the Prototype pattern
- Make incompatible interfaces compatible using the Adapter pattern
- Secure an interface using the Proxy pattern
- Choose an algorithm dynamically using the Strategy pattern
- Extend an object without subclassing using the Decorator pattern
- Keep the logic decoupled from the UI using the MVC pattern
Who this book is for
This book is for Python programmers with an intermediate background and an interest in design patterns implemented in idiomatic Python. Programmers of other languages who are interested in Python can also benefit from this book, but it would be better if they first read some introductory materials that explain how things are done in Python.
Table of Contents
- Improving object creation: The Factory pattern
- Creating complex objects: The Builder pattern
- Cloning an object: The Prototype pattern
- Making two incompatible interfaces compatible: TheAdapter pattern
- Extending the behavior of an object without subclassing:The Decorator pattern
- Simplifying access to a complex system: The Facadepattern
- Reusing objects: The Flyweight pattern
- Keeping the logic decoupled from the user interface: TheModel View Controller Pattern
- Securing an interface: The Proxy pattern
- Sending broadcast messages: The Chain Of Responsibilitypattern
- Adding undo support: The Command pattern
- Creating a Domain Specific Language: The Interpreterpattern
- Notifying all the stakeholders when the state of an objectchanges: The Observer pattern
- Implementing a state machine: The State pattern
- Choosing an algorithm dynamically: The Strategy pattern
- Abstracting the common parts of an algorithm: TheTemplate pattern
Loading...
Loading...

