Mastering Python Design Patterns : A guide to creating smart, efficient and reusable software, 2/e
暫譯: 精通 Python 設計模式:創建智能、高效和可重用軟體的指南,第二版

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 設計模式,這些模式用於解決日常問題,並提升自己在構建彈性、可擴展和穩健應用程式方面的技能。

在書籍結束時,您將能夠有效地解決在開發應用程式時面臨的常見問題,並能夠自信地處理任何規模的可擴展和可維護專案。

#### 您將學到什麼

- 探索工廠方法(Factory Method)和抽象工廠(Abstract Factory)以創建物件
- 使用原型模式(Prototype)克隆物件
- 使用適配器模式(Adapter)使不相容的介面相容
- 使用代理模式(Proxy)保護介面
- 使用策略模式(Strategy)動態選擇演算法
- 使用 MVC 模式將邏輯與 UI 解耦
- 利用觀察者模式(Observer)理解反應式編程
- 探索雲原生(Cloud Native)、微服務(Microservices)和無伺服器(Serverless)架構的模式

#### 本書適合誰

目標讀者為 Python 程式語言的初學者和進階開發人員。不需要具備設計模式的知識。