Clean Architectures in Python A practical approach to better sof...
Clean Architectures in Python A practical approach to better software design By 作者: Leonardo Giordani Pub Date: 2019 ISBN: n/a Pages: 171 Language: English Format: PDF Size: 10 Mb The clean architecture is the opposite of spaghetti code, where everything is interlaced and there are no single elements that can be easily detached from the rest and replaced without the whole system collapsing. The main point of the clean architecture is to make clear “what is where and why”, and this should be your first concern while you design and implement a software system, whatever architecture or development methodology you want to follow. This book is divided into two parts. The first part is about Test-driven Development (TDD), a programming technique that will help you more reliable and easily modifiable software. I will first guide you through a very simple example in chapter 1, demonstrating how to use TDD to approach a project, and how to properly create tests from requirements. In chapter 2 I will then discuss unit testing from a more theoretical point of view, categorising functions and their tests. Chapter 3 will introduce mocks, a powerful tool that helps to test complex scenarios. The second part introduces the clean architecture. The first chapter discusses briefly the components and the ideas behind this software structure, while chapter 2 runs through a concrete example of clean architecture for a very simple web service. Chapter 3 discusses error management and improvements to the Python code developed in the previous chapter. Finally, chapter 4 shows how to plug different database systems to the web service created previously.


























剩余170页未读,继续阅读


- 粉丝: 23
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 项目月度计划成本编制办法.doc
- 【精华】教师个人工作总结范文合集五篇.doc
- 基于社会网络分析的广播类融媒体信息传播研究.docx
- 中心医院门诊科技楼工程.doc
- 分联盟雅思阅读系统班填空题PPT.pptx
- 浅议如何激发职业院校学生学习《计算机应用基础》课程的兴趣.docx
- 价值100万的咨询方案:企业大学建设方案.doc
- 选择空调的技巧.doc
- 管理会计课件讲义.doc
- 工程招标文件模版.doc
- 基于PLC控制的自动售货机方案设计书74100.doc
- 办公室里十个成长机会.ppt
- 职务分析样本——工业工厂类》.docx
- 福建某厂房及配套工程塑钢门窗安装施工技术交底.doc
- 深度揭秘:如何实现 DeepSeek-R1 的开源复现之旅 首个 DeepSeek-R1 开源复现成果发布,Open-R1 正式亮相 一文读懂:DeepSeek-R1 开源复现项目的完整攻略 Open
- 基于初步危害分析的城市轨道交通系统安全性分析.docx


