
Desertcart purchases this item on your behalf and handles shipping, customs, and support to New Zealand.
Key Features Understand the structural, creational, and behavioral Python design patterns Get to know the context and application of design patterns to solve real-world problems in software architecture, design, and application development Get practical exposure through sample implementations in Python v3.5 for the design patterns featured Book Description With the increasing focus on optimized software architecture and design it is important that software architects think about optimizations in object creation, code structure, and interaction between objects at the architecture or design level. This makes sure that the cost of software maintenance is low and code can be easily reused or is adaptable to change. The key to this is reusability and low maintenance in design patterns. Building on the success of the previous edition, Learning Python Design Patterns, Second Edition will help you implement real-world scenarios with Python's latest release, Python v3.5. We start by introducing design patterns from the Python perspective. As you progress through the book, you will learn about Singleton patterns, Factory patterns, and Facade patterns in detail. After this, we'll look at how to control object access with proxy patterns. It also covers observer patterns, command patterns, and compound patterns. By the end of the book, you will have enhanced your professional abilities in software architecture, design, and development. What you will learn Enhance your skills to create better software architecture Understand proven solutions to commonly occurring design issues Explore the design principles that form the basis of software design, such as loose coupling, the Hollywood principle and the Open Close principle among others Delve into the object-oriented programming concepts and find out how they are used in software applications Develop an understanding of Creational Design Patterns and the different object creation methods that help you solve issues in software development Use Structural Design Patterns and find out how objects and classes interact to build larger applications Focus on the interaction between objects with the command and observer patterns Improve the productivity and code base of your application using Python design patterns About the Author Chetan Giridhar is a technology leader, open source enthusiast, and Python developer. He has written multiple articles on technology and development practices in magazines such as LinuxForYou and Agile Record, and has published technical papers in the Python Papers journal. He has been a speaker at PyCon conferences such as PyCon India, Asia-Pacific, and New Zealand and loves working on real-time communications, distributed systems, and cloud applications. Chetan has been a reviewer at Packt Publishing and has contributed to books on IPython Visualizations and Core Python. Table of Contents Introduction to Design Patterns The Singleton Design Pattern The Factory Pattern โ Building Factories to Create Objects The Facade Pattern โ Being Adaptive with Facade The Proxy Pattern โ Controlling Object Access The Observer Pattern โ Keeping Objects in the Know The Command Pattern โ Encapsulating Invocation The Template Method Pattern โ Encapsulating Algorithm Model-View-Controller โ Compound Patterns The State Design Pattern AntiPatterns Review: Short and conclusive - Short and conclusive pattern description with very nice examples. The layout is not the best (looks like a copy of a web page), however, the content is definitely worth it. Review: Ok book, valid content, but not worth the ยฃ25 paid. - The narrative style the book, at least up to where I've read so far, feels more like a brain dump from a friend to another than a carefully thought out and written book. The author clearly understands the concepts but struggles to explain them. However, my main gripe is with the code examples. They seem to go off at a tangent trying to do something clever (or asinine) instead of focusing on what they're meant to be illustrating. All in all I'm happy with this book, but at the price purchased.
C**T
Short and conclusive
Short and conclusive pattern description with very nice examples. The layout is not the best (looks like a copy of a web page), however, the content is definitely worth it.
B**B
Ok book, valid content, but not worth the ยฃ25 paid.
The narrative style the book, at least up to where I've read so far, feels more like a brain dump from a friend to another than a carefully thought out and written book. The author clearly understands the concepts but struggles to explain them. However, my main gripe is with the code examples. They seem to go off at a tangent trying to do something clever (or asinine) instead of focusing on what they're meant to be illustrating. All in all I'm happy with this book, but at the price purchased.
M**N
Repetitive summaries but interesting content
Introductions, summaries, checklists and recaps all repeat the same content and pad out the book. Underneath however there are some interesting discussions and basic examples on design patterns that are of use. Could be a shorter book to deliver the same content.
O**E
loved it!
Not my first introduction to design patterns, I read another for another language, but I thoroughly enjoyed reading through every chapter and working through the examples. Being able to run the code from github was a big bonus too. I found the explanation to be clear and concise, I particularly like the thought the author went to explain his ideas in as they exist in real life and in code. Seems like a small thing but it made a difference for me. I also enjoyed reading through the code in the book. One of my favourite books so far. Thumbs up from me!
G**R
A book worth reading
A good blend of theory with code snippets. It gives a good start to the folks want to delve into the concepts of design patterns using python.
R**I
It's ok
This a quick 134-pages rundown of the main design patterns. Each chapter is clearly laid out with an abstract explanation of the design pattern in question, an UML diagram, a bare-bone implementation and a practical one in Python (I found this section to be the most useful), and some advantages and disadvantages. The contents are easily understandable for a novice in Python that has already had good exposure to OOO programming with the language. On the other hand, the style sometimes appears repetitive or hurried. Overall, the book is OK for a first-time quick overview of design patterns in Python, but you'll have to go for something with more substance if you are really into design patterns.
S**I
Worst ever technical book.
Worst written book ever. There is no technical know-how to the writer, as well as the editors. The same sentence is written twice or thrice in the same paragraph or consecutive paragraphs. The concepts that Chetan Giridhar mentioned are also mostly flawed. P.S. For all of my hindi bhashi bhai behen log " Typical exams me ghuma ghuma kar jo "Gai humari mata hai" wala essay likhte the na... usse bhi raddi essay hai ye book". Very disappointed.
S**Y
Poorly written book that doesnt cover the topic
I had high hopes for this book but realized after the first chapter i made a huge mistake buying this book. The author does a poor job explaining the examples, talks about various concepts without describing them and the flow of the book is terrible. Save yourself a bunch if money and buy the gang of fours book.
G**O
the code does not work well at all. Concepts ...
the code does not work well at all. Concepts are not explained deeply in details. Not worth your money
Trustpilot
2 days ago
3 weeks ago