Learning Python Design Patterns, 2nd Edition

0
(0)

Learning Python Design Patterns, 2nd Edition
 

  • Author:Chetan Giridhar
  • Length: 130 pages
  • Edition: 2nd Revised edition
  • Publisher: Packt Publishing
  • Publication Date: 2016-03-04
  • ISBN-10: 178588803X
  • ISBN-13: 9781785888038
  • Sales Rank: #1769217 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Leverage the power of design patterns to solve real-world problems in Python software architecture, design, and application development

    About This Book

    • 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
    • Get practical exposure through sample implementations in Python v3.5 for the design patterns featured

    Who This Book Is For

    This book is for software architects and Python developers, and will be useful for novice engineers and seasoned architects as well. It requires a basic understanding of programming concepts and beginner level Python development experience. It will also be helpful for educational experiences for students and teachers in live learning environments.

    What You Will Learn

    • Enhance your skills to create a better software architecture
    • Understand proven solutions to commonly occurring 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
    • Delve into the object-oriented programming concepts and find out how they are used in software applications
    • Develop an understanding of Creational Design Patterns and the different object creation methods that help you solve issues in software development
    • Use Structural Design Patterns and find out how objects and classes interact to build larger applications
    • Focus on the interaction between objects with the command and observer patterns
    • Improve the productivity and code base of your application using Python design patterns

    In Detail

    With the increasing focus on optimized software architecture and design, it is important that software architects think about optimizations in object creation, code structure, and interaction between objects at the architecture or design level. This makes sure that the cost of software maintenance is low and code can be easily reused or is adaptable to change. The key to this is reusability and low maintenance in design patterns.

    Building on the success of the previous edition, Learning Python Design Patterns, Second Edition will help you implement real-world scenarios with Python’s latest release, Python v3.5.

    We start by introducing design patterns from the Python perspective. As you progress through the book, you will learn about Singleton patterns, Factory patterns, and Facade patterns in detail. After this, we’ll look at how to control object access with proxy patterns. It also covers observer patterns, command patterns, and compound patterns.

    By the end of the book, you will have enhanced your professional abilities in software architecture, design, and development.

    Table of Contents

    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

    中文:

    书名:Learning Python Design Patterns, 2nd Edition

    利用设计模式的力量来解决Python软件体系结构、设计和应用程序开发中的实际问题

    About This Book

    • 了解结构化、创建性和行为性的Python设计模式
    • Get to know the context and application of design patterns to solve real-world problems in software architecture, design, and application development
    • Get practical exposure through sample implementations in Python v3.5 for the design patterns featured

    这本书是为谁写的

    本书面向软件架构师和Python开发人员,对新手工程师和经验丰富的架构师也很有用。它需要对编程概念有基本的理解,并具备初级的Python开发经验。这也将有助于学生和教师在现场学习环境中的教育体验。

    What You Will Learn

    • 增强技能以创建更好的软件体系结构
    • Understand proven solutions to commonly occurring design issues
    • 探讨构成软件设计基础的设计原则,如松散耦合、好莱坞原则和开闭原则等
    • 深入研究面向对象的编程概念,并了解它们如何在软件应用程序中使用
    • 了解创造性设计模式和不同的对象创建方法,以帮助您解决软件开发中的问题
    • 使用结构化设计模式并了解对象和类如何交互以构建更大的应用程序
    • 使用命令模式和观察者模式关注对象之间的交互
    • 使用Python设计模式提高应用程序的工作效率和代码量

    In Detail

    随着对优化软件体系结构和设计的日益关注,软件架构师必须在体系结构或设计级别考虑对象创建、代码结构和对象之间的交互方面的优化。这确保了软件维护的成本很低,并且代码可以很容易地重复使用或适应变化。关键是设计模式的可重用性和低维护性。

    在上一版《学习Python设计模式》第二版的成功基础上,第二版将帮助您使用最新发布的Pythonv3.5实现真实世界的场景。

    我们首先从Python的角度介绍设计模式。随着本书的深入,您将详细了解Singleton模式、Factory模式和Facade模式。在此之后,我们将研究如何使用代理模式控制对象访问。它还介绍了观察者模式、命令模式和复合模式。

    到本书结束时,您将增强您在软件体系结构、设计和开发方面的专业能力。

    Table of Contents

    第1章.设计模式简介
    第2章:单例设计模式
    第三章工厂模式–构建工厂以创建对象
    第4章.门面模式-与门面相适应
    第5章代理模式–控制对象访问
    第六章观察者模式–知晓对象
    第7章.命令模式-封装调用
    第八章模板法模式封装算法
    Chapter 9. Model-View-Controller – Compound Patterns
    第10章.状态设计模式
    第11章.反模式

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册