O'Reilly出版社又一经典之作——Python设计模式

Architecture Patterns with Python

出版时间:2020.3

随着Python的持续流行,项目变得越来越大,越来越复杂。许多Python开发人员都对高级软件设计模式感兴趣,例如六边形/纯净架构,事件驱动的架构以及域驱动设计(DDD)规定的战略模式。但是将这些模式转换成Python并不总是那么简单。

通过该动手指南,MADE.com的Harry Percival和Bob Gregory引入了行之有效的架构设计模式,以帮助Python开发人员管理应用程序的复杂性,并从其测试套件中获得最大的价值。

每种模式都用美丽,惯用的Python给出了具体示例,从而避免了Java和C#语法的冗长。模式包括:

  • 依赖性反转及其到端口和适配器的连接(六边形/干净体系结构)

  • 域驱动设计在实体、值对象和聚合之间的区别

  • 持久存储的存储库和工作单元模式

  • 事件、命令和消息总线

  • 命令查询责任分离(CQRS)

  • 事件驱动体系结构和反应式微服务

如果您觉得本文对您有帮助的话请点赞转发并关注,后台回复“python设计模式”即可获取PDF版资料。

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
Software Architecture with Python by Anand Balachandran Pillai English | 28 Apr. 2017 | ASIN: B01IF7NLI2 | 556 Pages | AZW3 | 12.29 MB Key Features Identify design issues and make the necessary adjustments to achieve improved performance Understand practical architectural quality attributes from the perspective of a practicing engineer and architect using Python Gain knowledge of architectural principles and how they can be used to provide accountability and rationale for architectural decisions Book Description This book starts off by explaining how Python fits into an application architecture. As you move along, you will understand the architecturally significant demands and how to determine them. Later, you'll get a complete understanding of the different architectural quality requirements that help an architect to build a product that satisfies business needs, such as maintainability/reusability, testability, scalability, performance, usability, and security. You will use various techniques such as incorporating DevOps, Continuous Integration, and more to make your application robust. You will understand when and when not to use object orientation in your applications. You will be able to think of the future and design applications that can scale proportionally to the growing business. The focus is on building the business logic based on the business process documentation and which frameworks are to be used when. We also cover some important patterns that are to be taken into account while solving design problems as well as those in relatively new domains such as the Cloud. This book will help you understand the ins and outs of Python so that you can make those critical design decisions that not just live up to but also surpass the expectations of your clients. What you will learn Build programs with the right architectural attributes Use Enterprise Architectural Patterns to solve scalable problems on the Web Understand design patterns from a Python pers
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值