Mastering Python Design Patterns: A guide to creating smart,efficient,and reusable software,2nd Edition
Authors: Kamon Ayeva – Sakis Kasampalis
ISBN-10: 1788837487
ISBN-13: 9781788837484
Edition 版次: 2nd Revised edition
Publication Date 出版日期: 2018-08-31
Print Length 页数: 248 pages
Book Description
By finelybook
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.
Contents
1: THE FACTORY PATTERN
2: THE BUILDER PATTERN
3: OTHER CREATIONAL PATTERNS
4: THE ADAPTER PATTERN
5: THE DECORATOR PATTERN
6: THE BRIDGE PATTERN
7: THE FACADE PATTERN
8: OTHER STRUCTURAL PATTERNS
9: THE CHAIN OF RESPONSIBILITY PATTERN
10: THE COMMAND PATTERN
11: THE OBSERVER PATTERN
12: THE STATE PATTERN
13: OTHER BEHAVIORAL PATTERNS
14: THE OBSERVER PATTERN IN REACTIVE PROGRAMMING
15: MICROSERVICES AND PATTERNS FOR THE CLOUD
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
Authors
Kamon Ayeva
Kamon Ayeva is a web developer / DevOps Engineer working with a variety of tools. HeI spends most of his time in building projects,using Python’s powerful scripting capabilities,add-on libraries and web frameworks such as Django or Flask. Kamon has been using Python in professional contexts for more than 12 years. He is also a Python instructor with a passion for teaching how to use Python features to quickly produce results.
Sakis Kasampalis
Sakis Kasampalis is a software engineer living in the Netherlands. He is not dogmatic about particular programming languages and tools; his principle is that the right tool should be used for the right job. One of his favorite tools is Python because he finds it very productive. Sakis was also the technical reviewer of Mastering Object-oriented Python and Learning Python Design Patterns,published by Packt Publishing.