Amazon Prime Free Trial
FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with FREE Delivery" below the Add to Cart button and confirm your Prime free trial.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited FREE Prime delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Mastering Python Design Patterns
There is a newer edition of this item:
Purchase options and add-ons
Create various design patterns to master the art of solving problems using Python
About This Book
- Simplify design pattern implementation using the power of Python
- Each pattern is accompanied with a real-world example demonstrating its key features
- This is an easy-to-follow guide focusing on the practical aspects of Python design patterns
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.
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
In Detail
Python is an object-oriented, scripting language that is used in wide range of categories. In software engineering, a design pattern is a recommended solution to a software design problem. Although not new, design patterns remain one of the hottest topics in software engineering and they come as a ready reference for software developers to solve the common problems they face at work.
This book will take you through each and every design pattern explained with the help of real-world examples. The aim of the book is to introduce more low-level detail and concepts on how to write Pythonic code, not just focusing on common solutions as implemented in Java and C++. It includes small sections on troubleshooting, best practices, system architecture, and its design aspects. With the help of this book, you will be able to understand Python design pattern concepts and the framework, as well as issues and their resolution. You'll focus on all 16 design patterns that are used to solve everyday problems.
- ISBN-101783989327
- ISBN-13978-1783989324
- PublisherPackt Pub Ltd
- Publication dateJanuary 31, 2015
- LanguageEnglish
- Dimensions9.25 x 7.52 x 0.45 inches
- Print length195 pages
Similar items that may deliver to you quickly
Product details
- Publisher : Packt Pub Ltd (January 31, 2015)
- Language : English
- Paperback : 195 pages
- ISBN-10 : 1783989327
- ISBN-13 : 978-1783989324
- Item Weight : 13.4 ounces
- Dimensions : 9.25 x 7.52 x 0.45 inches
- Customer Reviews:
About the author
I am Sakis, a Software Architect living in The Netherlands. I like (Functional) Programming and generally I enjoy writing code in pragmatic languages, without being dogmatic about them. My principle is that the right tool should be used for the right job.
In 2015 I wrote the book Mastering Python Design Patterns. Before that, I was the technical reviewer of the books Learning Python Design Patterns and Mastering Object-Oriented Python. As a side project I created the GitHub repository python-patterns which has been welcomed by the Python community.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
- Reviewed in the United States on March 4, 2015This book is well organized and concisely written. Each chapter stands on its own and can be read independently, which fits my style and allows for reading it as time permits. The chapters each contain some theory or explanation as well as copious amounts of code and real world examples. The use cases were also helpful in understanding situations where the design patterns could be implemented.
I purchased the eBook version which had links embedded in the text for additional detail and in-depth explanations on related topics. I like to explore as I read and learn, so this was a welcome feature.
The only con for me was that it's written for Python 3, however, the concepts apply to Python 2 and other languages. Eventually I will move to Python 3 and this was a gave me a chance to try Python 3.
I recommend if you want to learn about design patterns and you're a Python user.
- Reviewed in the United States on March 1, 2015If you need to find new ideas on how to optimize or make your code more easy to interpret this book will give you several examples of code structures to make it more efficient or more simple to interpret. The book writing style is a bit dry and it's not for beginners(you need to know what python is about and how to code with it or you will get lost) but the core content is sound so if you know your stuff and you want to learn new coding styles this book is for you.
- Reviewed in the United States on July 30, 2016There is simple and then there is simplistic. The examples in this book may be structured in the style of the design patterns discussed, but they lack the complexity to truly communicate the purpose of these patterns. If you need general ideas about patterns, this book is fine. However, I'm finding myself googling every section to learn more practical information about when and why to use these patterns. This book is very light on content and does nothing to convey deeper understanding of when certain principles should be used. I encourage you to google each chapter title rather than buying this book.
- Reviewed in the United States on March 22, 2015I really enjoy reading this book. It was very useful to learn how to properly apply certain design patterns to real-life examples.
Top reviews from other countries
- Arto MujunenReviewed in the United Kingdom on September 14, 2019
4.0 out of 5 stars Simple examples for most common design patterns
Straight forward explanations for each design patterns without academic jargon