Mastering Python Design Patterns : A guide to creating smart, efficient and reusable software, 2/e

Kamon Ayeva, Sakis Kasampalis

買這商品的人也買了...

商品描述

Taking advantage of various design patterns to master the art of solving problems using Python

Key Features

  • Mastering application's design using core patterns in Python
  • Learn tricks to solve common design and architectural challenges
  • Elect right plan to update the ability of program and its productivity

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 favoured 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 source for software developers to solve the common problems they face at work.

This book will take you through a variety of design patterns and explain them with the help of real-world examples. The book will introduce you to 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 hold small sections on correction, best practices, system architecture, and its design aspects. This book will assist you in understanding the core concepts of design patterns, its plan and methods to run-over software design problems. You'll focus on all GOF design patterns that are used to solve everyday problems and upskill yourself with all the reactive and functional patterns that help to build resilient, scalable and robust applications.

By the end of the book, you will be able to efficiently address common problems faced while developing applications and 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

The target audience is both beginner- and advanced-level developers in the Python programming language. No knowledge of design patterns is expected.

商品描述(中文翻譯)

利用各種設計模式來精通使用Python解決問題的藝術

主要特點

- 使用Python的核心模式來掌握應用程式的設計
- 學習解決常見設計和架構挑戰的技巧
- 選擇正確的計劃來提升程式的能力和生產力

書籍描述

Python是一種面向對象的腳本語言,廣泛應用於各個領域。在軟體工程中,設計模式是對軟體設計問題的優選解決方案。儘管設計模式並不新鮮,但它們仍然是軟體工程中最熱門的話題之一,並且成為軟體開發人員在工作中解決常見問題的可靠來源。

本書將通過各種設計模式並借助實際示例來解釋它們。本書將向您介紹更多低級細節和概念,以便您能夠撰寫Pythonic代碼,而不僅僅關注Java和C++中實現的常見解決方案。它包含有關修正、最佳實踐、系統架構和設計方面的小節。本書將幫助您理解設計模式的核心概念,以及解決軟體設計問題的計劃和方法。您將學習所有用於解決日常問題的GOF設計模式,並提升自己的反應式和功能性模式,以幫助構建具有彈性、可擴展和堅固性的應用程式。

通過閱讀本書,您將能夠有效地解決開發應用程式時遇到的常見問題,並能夠在任何規模的可擴展和可維護的項目上輕鬆工作。

您將學到什麼

- 探索工廠方法和抽象工廠來創建物件
- 使用原型模式克隆物件
- 使用適配器模式使不相容的介面相容
- 使用代理模式保護介面
- 使用策略模式動態選擇算法
- 使用MVC模式將邏輯與UI解耦
- 利用觀察者模式了解反應式編程
- 探索用於雲原生、微服務和無伺服器架構的模式

本書適合對Python編程語言有初級和高級水平的開發人員。不需要對設計模式有任何了解。