Mastering Python Design Patterns
暫譯: 精通 Python 設計模式
Sakis Kasampalis
- 出版商: Packt Publishing
- 出版日期: 2015-01-31
- 定價: $1,480
- 售價: 8.0 折 $1,184
- 語言: 英文
- 頁數: 199
- 裝訂: Paperback
- ISBN: 1783989327
- ISBN-13: 9781783989324
-
相關分類:
Functional-programming、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 -
Python 設計模式深入解析 (Mastering Python Design Patterns)$360$281 -
不再聽不懂!圖解網站建置與開發$450$356 -
演算法之美:隱藏在資料結構背後的原理 (C++版)$650$507 -
為你自己學 Git$500$425 -
無瑕的程式碼-整潔的軟體設計與架構篇 (Clean Architecture: A Craftsman's Guide to Software Structure and Design)$580$452 -
Python 技術者們 - 實踐! 帶你一步一腳印由初學到精通$650$553 -
Python 技術者們 - 練功!老手帶路教你精通正宗 Python 程式 (The Quick Python Book, 3/e)$780$663 -
設計師都該懂的包容性網頁 UI/UX 設計模式:知名設計師教你親和性網頁的實作祕密$450$351 -
邁向 Linux 工程師之路:Superuser 一定要懂的技術與運用, 2/e (How Linux Works: What Every Superuser Should Know, 2/e)$600$468 -
JavaScript 技術手冊$560$476 -
敏捷大師精選 (Best Agile Articles of 2018)$750$585 -
人類智慧的神殿:AI知識圖譜實作$890$703 -
PowerShell 流程自動化攻略 (Powershell for Sysadmins: A Hands-On Guide to Automating Your Workflow)$500$425 -
資料密集型應用系統設計 (Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems)$980$774 -
刷題實戰筆記:演算法工程師求職加分的祕笈$720$562 -
精通資料視覺化 : 用試算表與程式說故事 (Hands-On Data Visualization: Interactive Storytelling from Spreadsheets to Code)$680$537 -
打下最紮實 AI 基礎不依賴套件:手刻機器學習神經網路穩健前進$1,200$948 -
深度學習: 邁向 Meta Learning$880$695 -
強健的 Python|撰寫潔淨且可維護的程式碼 (Robust Python: Write Clean and Maintainable Code)$680$537 -
Template Metaprogramming with C++: Learn everything about C++ templates and unlock the power of template metaprogramming (Paperback)$1,830$1,739 -
無瑕的程式碼 敏捷篇:還原敏捷真實的面貌 (Clean Agile : Back to Basics)$560$437 -
邁向 Linux 工程師之路:Superuser 一定要懂的技術與運用, 3/e (How Linux Works : What Every Superuser Should Know, 3/e)$780$608 -
精通無瑕程式碼:工程師也能斷捨離!消除複雜度、提升效率的 17個關鍵技法 (The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life)$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 種設計模式。
