Python: Master the Art of Design Patterns

0
(0)

Python: Master the Art of Design Patterns
 

  • Author:Chetan GiridharDusty PhillipsSakis Kasampalis
  • Length: 784 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2016-09-30
  • ISBN-10: 1787125181
  • ISBN-13: 9781787125186
  • Sales Rank: #2904348 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    About This Book

    • Learn all about abstract design patterns and how to implement them in Python 3
    • Understand the structural, creational, and behavioral Python design patterns
    • Get to know the context and application of design patterns to solve real-world problems in software architecture, design, and application development
    • Discover how to simplify Design Pattern implementation using the power of Python 3

    Who This Book Is For

    If you have basic Python skills and wish to learn in depth how to correctly apply appropriate design patterns, this course is tailor made for you.

    What You Will Learn

    • Discover what design patterns are and how to apply them to writing Python
    • Implement objects in Python by creating classes and defining methods
    • Separate related objects into a taxonomy of classes and describe the properties and behaviors of those objects via the class interface
    • Understand when to use object-oriented features, and more importantly when not to use them
    • Get to know proven solutions to common design issues
    • Explore the design principles that form the basis of software design, such as loose coupling, the Hollywood principle, and the Open Close principle, among others
    • Use Structural Design Patterns and find out how objects and classes interact to build larger applications
    • Improve the productivity and code base of your application using Python design patterns
    • Secure an interface using the Proxy pattern

    In Detail

    Python is an object-oriented scripting language that is used in everything from data science to web development. Through applying essential software engineering design patterns to Python, Python code becomes even more efficient and reusable from project to project.

    This learning path takes you through every traditional and advanced design pattern best applied to Python code, building your skills in writing exceptional Python. Start with the bedrock of Python programming – the objectoriented paradigm. Build your confidence as you learn Python syntax, and how to use OOP principles with Python tools such as Django and Kivy.

    In the second module, run through the most common and most useful design patterns from a Python perspective. Enhance your professional abilities in in software architecture, design, and development.

    In the final module, run through the more complex and less common design patterns, discovering how to apply them to Python coding with the help of real-world examples.

    This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

    1. Python 3 Object-Oriented Programming – Second Edition by Dusty Phillips
    2. Learning Python Design Patterns – Second Edition by Chetan Giridhar
    3. Mastering Python Design Patterns by Sakis Kasampalis

    Table of Contents

    Module 1: Python 3 Object-Oriented Programming – Second Edition
    Chapter 1: Object-oriented Design
    Chapter 2: Objects in Python
    Chapter 3: When Objects Are Alike
    Chapter 4: Expecting the Unexpected
    Chapter 5: When to Use Object-oriented Programming
    Chapter 6: Python Data Structures
    Chapter 7: Python Object-oriented Shortcuts
    Chapter 8: Strings and Serialization
    Chapter 9: The Iterator Pattern
    Chapter 10: Python Design Patterns I
    Chapter 11: Python Design Patterns II
    Chapter 12: Testing Object-oriented Programs
    Chapter 13: Concurrency
    Module 2: Learning Python Design Patterns – Second Edition
    Chapter 1: Introduction to Design Patterns
    Chapter 2: The Singleton Design Pattern
    Chapter 3: The Factory Pattern – Building Factories to Create Objects
    Chapter 4: The Façade Pattern – Being Adaptive with Façade
    Chapter 5: The Proxy Pattern – Controlling Object Access
    Chapter 6: The Observer Pattern – Keeping Objects in the Know
    Chapter 7: The Command Pattern – Encapsulating Invocation
    Chapter 8: The Template Method Pattern – Encapsulating Algorithm
    Chapter 9: Model-View-Controller – Compound Patterns
    Chapter 10: The State Design Pattern
    Chapter 11: AntiPatterns
    Module 3: Mastering Python Design Patterns
    Chapter 1: The Factory Pattern
    Chapter 2: The Builder Pattern
    Chapter 3: The Prototype Pattern
    Chapter 4: The Adapter Pattern
    Chapter 5: The Decorator Pattern
    Chapter 6: The Facade Pattern
    Chapter 7: The Flyweight Pattern
    Chapter 8: The Model-View-Controller Pattern
    Chapter 9: The Proxy Pattern
    Chapter 10: The Chain of Responsibility Pattern
    Chapter 11: The Command Pattern
    Chapter 12: The Interpreter Pattern
    Chapter 13: The Observer Pattern
    Chapter 14: The State Pattern
    Chapter 15: The Strategy Pattern
    Chapter 16: The Template Pattern

    中文:

    书名:Python: Master the Art of Design Patterns

    About This Book

    • Learn all about abstract design patterns and how to implement them in Python 3
    • Understand the structural, creational, and behavioral Python design patterns
    • 了解设计模式的背景和应用,以解决软件体系结构、设计和应用程序开发中的实际问题
    • Discover how to simplify Design Pattern implementation using the power of Python 3

    Who This Book Is For

    如果您有基本的Python技能并希望深入学习如何正确应用适当的设计模式,本课程是为您量身定做的。

    What You Will Learn

    • Discover what design patterns are and how to apply them to writing Python
    • Implement objects in Python by creating classes and defining methods
    • 将相关对象分离到类的分类中,并通过类接口描述这些对象的属性和行为
    • 了解何时使用面向对象的功能,以及更重要的是何时不使用它们
    • Get to know proven solutions to common design issues
    • 探讨构成软件设计基础的设计原则,如松散耦合、好莱坞原则和开闭原则等
    • 使用结构化设计模式并了解对象和类如何交互以构建更大的应用程序
    • Improve the productivity and code base of your application using Python design patterns
    • 使用代理模式保护接口

    In Detail

    Python是一种面向对象的脚本语言,用于从数据科学到Web开发的方方面面。通过将基本的软件工程设计模式应用于Python,Python代码在项目之间变得更加高效和可重用。

    这条学习之路将带您了解最适合应用于Python代码的每一种传统和高级设计模式,从而培养您编写出色的Python的技能。从Python编程的基础–面向对象的范例开始。在学习Python语法以及如何在Django和Kivy等Python工具中使用OOP原则时,建立您的信心。

    在第二个模块中,从Python的角度介绍最常见和最有用的设计模式。提升您在软件架构、设计和开发方面的专业能力。

    在最后一个模块中,演练更复杂和不太常见的设计模式,了解如何在真实示例的帮助下将它们应用到Python编码中。

    This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

    1. Python 3 Object-Oriented Programming – Second Edition by Dusty Phillips
    2. Learning Python Design Patterns – Second Edition by Chetan Giridhar
    3. Mastering Python Design Patterns by Sakis Kasampalis

    Table of Contents

    Module 1: Python 3 Object-Oriented Programming – Second Edition
    Chapter 1: Object-oriented Design
    第2章:Python中的对象
    Chapter 3: When Objects Are Alike
    Chapter 4: Expecting the Unexpected
    Chapter 5: When to Use Object-oriented Programming
    Chapter 6: Python Data Structures
    第7章:面向对象的快捷键
    Chapter 8: Strings and Serialization
    Chapter 9: The Iterator Pattern
    Chapter 10: Python Design Patterns I
    Chapter 11: Python Design Patterns II
    第12章:测试面向对象的程序
    Chapter 13: Concurrency
    Module 2: Learning Python Design Patterns – Second Edition
    第1章:设计模式简介
    Chapter 2: The Singleton Design Pattern
    Chapter 3: The Factory Pattern – Building Factories to Create Objects
    Chapter 4: The Façade Pattern – Being Adaptive with Façade
    Chapter 5: The Proxy Pattern – Controlling Object Access
    Chapter 6: The Observer Pattern – Keeping Objects in the Know
    Chapter 7: The Command Pattern – Encapsulating Invocation
    Chapter 8: The Template Method Pattern – Encapsulating Algorithm
    Chapter 9: Model-View-Controller – Compound Patterns
    Chapter 10: The State Design Pattern
    Chapter 11: AntiPatterns
    模块3:掌握Python设计模式
    Chapter 1: The Factory Pattern
    第2章:构建器模式
    Chapter 3: The Prototype Pattern
    第4章:适配器模式
    Chapter 5: The Decorator Pattern
    第6章:正面模式
    Chapter 7: The Flyweight Pattern
    Chapter 8: The Model-View-Controller Pattern
    Chapter 9: The Proxy Pattern
    Chapter 10: The Chain of Responsibility Pattern
    Chapter 11: The Command Pattern
    Chapter 12: The Interpreter Pattern
    Chapter 13: The Observer Pattern
    第14章:国家模式
    Chapter 15: The Strategy Pattern
    Chapter 16: The Template Pattern

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册