Mastering Python Design Patterns
Sakis Kasampalis
- 出版商: Packt Publishing
- 出版日期: 2015-01-31
- 定價: $1,480
- 售價: 9.0 折 $1,332
- 語言: 英文
- 頁數: 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)
-
$360$281 -
$450$356 -
$650$507 -
$500$390 -
$580$452 -
$650$553 -
$520$411 -
$780$616 -
$450$351 -
$600$468 -
$560$420 -
$750$585 -
$890$587 -
$500$375 -
$980$774 -
$720$562 -
$680$537 -
$1,200$792 -
$880$748 -
$680$537 -
$1,910$1,815 -
$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的材料,將更有助益。
你將學到什麼
- 探索工廠方法和抽象工廠以進行對象創建
- 使用原型模式克隆對象
- 使用適配器模式使不兼容的接口兼容
- 使用代理模式保護接口
- 使用策略模式動態選擇算法
- 使用裝飾器模式在不使用子類的情況下擴展對象
- 使用MVC模式將邏輯與UI解耦
詳細內容
Python是一種面向對象的腳本語言,廣泛應用於各個領域。在軟件工程中,設計模式是對軟件設計問題的推薦解決方案。儘管設計模式並不新鮮,但它們仍然是軟件工程中最熱門的話題之一,並且成為軟件開發人員在工作中解決常見問題的參考資料。
本書將通過實際示例介紹每個設計模式。本書的目標是介紹更多關於如何編寫Pythonic代碼的低級細節和概念,而不僅僅關注Java和C++中常見的解決方案。它還包括簡短的疑難排解、最佳實踐、系統架構和設計方面的部分。通過本書的幫助,您將能夠理解Python設計模式的概念和框架,以及相關問題及其解決方案。您將學習解決日常問題所使用的16種設計模式。