Mastering Python Design Patterns

Start learning Python programming to a better standard by mastering the art of Python design patterns

Mastering Python Design Patterns

Sakis Kasampalis

1 customer reviews
Start learning Python programming to a better standard by mastering the art of Python design patterns
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783989324
Paperback212 pages

Book Description

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 Python programming 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.

Table of Contents

Chapter 1: The Factory Pattern
Factory Method
Abstract Factory
Summary
Chapter 2: The Builder Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 3: The Prototype Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 4: The Adapter Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 5: The Decorator Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 6: The Facade Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 7: The Flyweight Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 8: The Model-View-Controller Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 9: The Proxy Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 10: The Chain of Responsibility Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 11: The Command Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 12: The Interpreter Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 13: The Observer Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 14: The State Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 15: The Strategy Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 16: The Template Pattern
A real-life example
A software example
Use cases
Implementation
Summary

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

Authors

Table of Contents

Chapter 1: The Factory Pattern
Factory Method
Abstract Factory
Summary
Chapter 2: The Builder Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 3: The Prototype Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 4: The Adapter Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 5: The Decorator Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 6: The Facade Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 7: The Flyweight Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 8: The Model-View-Controller Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 9: The Proxy Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 10: The Chain of Responsibility Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 11: The Command Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 12: The Interpreter Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 13: The Observer Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 14: The State Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 15: The Strategy Pattern
A real-life example
A software example
Use cases
Implementation
Summary
Chapter 16: The Template Pattern
A real-life example
A software example
Use cases
Implementation
Summary

Book Details

ISBN 139781783989324
Paperback212 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Python Data Analysis Book Cover
Python Data Analysis
$ 29.99
$ 21.00
Python 3 Object Oriented Programming Book Cover
Python 3 Object Oriented Programming
$ 29.99
$ 21.00
Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00