3 options
Mastering Python design patterns : a guide to creating smart, efficient and reusable software / Kamon Ayeva, Sakis Kasampalis.
- Format:
- Book
- Author/Creator:
- Ayeva, Kamon, author.
- Kasampalis, Sakis, author.
- Language:
- English
- Subjects (All):
- Python (Computer program language).
- Computer software--Development.
- Computer software.
- Physical Description:
- 1 online resource (240 pages) : illustrations
- Edition:
- Second edition.
- Place of Publication:
- Birmingham ; Mumbai : Packt, 2018.
- System Details:
- text file
- Summary:
- Exploit various design patterns to master the art of solving problems using Python Key Features Master the application design using the core design patterns and latest features of Python 3.7 Learn tricks to solve common design and architectural challenges Choose the right plan to improve your programs and increase their productivity Book Description Python is an object-oriented scripting language that is used in a wide range of categories. In software engineering, a design pattern is an elected solution for solving software design problems. Although they have been around for a while, design patterns remain one of the top topics in software engineering, and are a ready source for software developers to solve the problems they face on a regular basis. This book takes you through a variety of design patterns and explains them with real-world examples. You will get to grips with low-level details and concepts that show you how to write Python code, without focusing on common solutions as enabled in Java and C++. You'll also fnd sections on corrections, best practices, system architecture, and its designing aspects. This book will help you learn the core concepts of design patterns and the way they can be used to resolve software design problems. You'll focus on most of the Gang of Four (GoF) design patterns, which are used to solve everyday problems, and take your skills to the next level with reactive and functional patterns that help you build resilient, scalable, and robust applications. By the end of the book, you'll be able to effciently address commonly faced problems and develop applications, and also be comfortable working on scalable and maintainable projects of any size. 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 Keep the logic decoupled from the UI using the MVC pattern Leverage the Observer pattern to understand reactive programming Explore patterns for cloud-native, microservices, and serverless architectures Who this book is for This book is for intermediate Python developers. Prior knowledge of design patterns is not required to enjoy this book. Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at...
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: The Factory Pattern
- The factory method
- Real-world examples
- Use cases
- Implementing the factory method
- The abstract factory
- Implementing the abstract factory pattern
- Summary
- Chapter 2: The Builder Pattern
- Implementation
- Chapter 3: Other Creational Patterns
- The prototype pattern
- Singleton
- Chapter 4: The Adapter Pattern
- Chapter 5: The Decorator Pattern
- Chapter 6: The Bridge Pattern
- Chapter 7: The Facade Pattern
- Chapter 8: Other Structural Patterns
- The flyweight pattern
- The model-view-controller pattern
- The proxy pattern
- Chapter 9: The Chain of Responsibility Pattern
- Chapter 10: The Command Pattern
- Chapter 11: The Observer Pattern
- Chapter 12: The State Pattern
- Chapter 13: Other Behavioral Patterns
- Interpreter pattern
- Use cases.
- Implementation
- Strategy pattern
- Memento pattern
- Iterator pattern
- Template pattern
- The Observer Pattern in Reactive Chapter 14: Programming
- A first example
- A second example
- A third example
- A fourth example
- Chapter 15: Microservices and Patterns for the Cloud
- The Microservices pattern
- The Retry pattern
- A second example, using a third-party module
- A third example, using another third-party module
- The Circuit Breaker pattern
- The Cache-Aside pattern
- Throttling
- Other Books You May Enjoy
- Index.
- Notes:
- Includes index.
- Description based on print version record.
- ISBN:
- 9781788832069
- 178883206X
- OCLC:
- 1055555713
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.