Mastering Python Design Patterns
暫譯: 精通 Python 設計模式
Sakis Kasampalis
- 出版商: Packt Publishing
- 出版日期: 2015-01-31
- 定價: $1,480
- 售價: 6.6 折 $977
- 語言: 英文
- 頁數: 199
- 裝訂: Paperback
- ISBN: 1783989327
- ISBN-13: 9781783989324
-
相關分類:
Python、程式語言、Design Pattern
-
相關翻譯:
Python 設計模式深入解析 (Mastering Python Design Patterns) (繁中版)
-
其他版本:
Mastering Python Design Patterns : A guide to creating smart, efficient and reusable software, 2/e
買這商品的人也買了...
-
$1,188Fedora 11 and Red Hat Enterprise Linux Bible (Paperback)
-
$800$632 -
$360$281 -
$450$356 -
$650$507 -
$500$425 -
$580$452 -
$650$514 -
$780$616 -
$450$351 -
$600$468 -
$560$420 -
$750$585 -
$890$703 -
$500$395 -
$980$774 -
$720$562 -
$680$537 -
$1,200$948 -
$880$695 -
$680$537 -
$1,900$1,805 -
$560$437 -
$780$608 -
$600$468
商品描述
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.
商品描述(中文翻譯)
創建各種設計模式,以掌握使用 Python 解決問題的藝術
本書介紹
- 利用 Python 的力量簡化設計模式的實現
- 每個模式都附有實際案例,展示其關鍵特徵
- 這是一本易於跟隨的指南,專注於 Python 設計模式的實用方面
本書適合誰閱讀
本書適合具有中級背景並對以慣用 Python 實現的設計模式感興趣的 Python 程式設計師。對 Python 感興趣的其他語言程式設計師也能從本書中受益,但如果他們先閱讀一些介紹性材料,了解 Python 的運作方式會更好。
您將學到什麼
- 探索用於物件創建的工廠方法(Factory Method)和抽象工廠(Abstract Factory)
- 使用原型模式(Prototype pattern)克隆物件
- 使用適配器模式(Adapter pattern)使不相容的介面相容
- 使用代理模式(Proxy pattern)保護介面
- 使用策略模式(Strategy pattern)動態選擇演算法
- 使用裝飾者模式(Decorator pattern)在不繼承的情況下擴展物件
- 使用 MVC 模式保持邏輯與 UI 解耦
詳細內容
Python 是一種物件導向的腳本語言,廣泛應用於各種領域。在軟體工程中,設計模式是針對軟體設計問題的推薦解決方案。雖然設計模式並不新穎,但仍然是軟體工程中最熱門的主題之一,並且為軟體開發人員提供了針對工作中常見問題的即時參考。
本書將帶您逐一了解每個設計模式,並通過實際案例進行說明。本書的目標是介紹更多低層次的細節和如何編寫 Pythonic 代碼的概念,而不僅僅專注於 Java 和 C++ 中實現的常見解決方案。它還包括有關故障排除、最佳實踐、系統架構及其設計方面的小節。藉助本書,您將能夠理解 Python 設計模式的概念和框架,以及相關問題及其解決方案。您將專注於解決日常問題的所有 16 種設計模式。