当前位置:网站首页>What problems can clean architecture solve? - jbogard
What problems can clean architecture solve? - jbogard
2020-11-06 01:20:00 【On jdon】
Clean Architecture can solve these problems :
- Make a decision too early
- Difficult to change
- Centering on the frame
- Database centric
- Focus only on the technical level
- It's hard to find the code you're looking for
- Business logic spreads everywhere
- Too much testing
Opinions vary :
If you follow the spirit , So a clean architecture is to separate the domain from the infrastructure , And make sure there's a way to test drive as many systems as possible . therefore , It does 2、4 and 7 Help . however , No style can prevent human carelessness and deliberate carelessness .
One thing is for sure , If you clean up with good standard practice , It could solve most of the problems , however , If the domain leaks ( Or any amount of bad smell of code ), It's still easy to make it the whole solution “ Mire ”.
The problem to be solved is the quagmire ( Paste ), But I still find CQRS and MVU( One way data flow ) It solves the problem better than the incidental complexity of other patterns .
版权声明
本文为[On jdon]所创,转载请带上原文链接,感谢
边栏推荐
- Summary of common algorithms of binary tree
- 向北京集结!OpenI/O 2020启智开发者大会进入倒计时
- 3分钟读懂Wi-Fi 6于Wi-Fi 5的优势
- Vue 3 responsive Foundation
- Basic principle and application of iptables
- Python3 e-learning case 4: writing web proxy
- 中小微企业选择共享办公室怎么样?
- Elasticsearch 第六篇:聚合統計查詢
- Aprelu: cross border application, adaptive relu | IEEE tie 2020 for machine fault detection
- GDB除錯基礎使用方法
猜你喜欢
华为云“四个可靠”的方法论
ipfs正舵者Filecoin落地正当时 FIL币价格破千来了
Subordination judgment in structured data
How long does it take you to work out an object-oriented programming interview question from Ali school?
从海外进军中国,Rancher要执容器云市场牛耳 | 爱分析调研
你的财务报告该换个高级的套路了——财务分析驾驶舱
有关PDF417条码码制的结构介绍
比特币一度突破14000美元,即将面临美国大选考验
PN8162 20W PD快充芯片,PD快充充电器方案
Vue 3 responsive Foundation
随机推荐
Analysis of ThreadLocal principle
This article will introduce you to jest unit test
50 + open source projects are officially assembled, and millions of developers are voting
大数据应用的重要性体现在方方面面
做外包真的很难,身为外包的我也无奈叹息。
Save the file directly to Google drive and download it back ten times faster
Jmeter——ForEach Controller&Loop Controller
基於MVC的RESTFul風格API實戰
I'm afraid that the spread sequence calculation of arbitrage strategy is not as simple as you think
WeihanLi.Npoi 1.11.0/1.12.0 Release Notes
Skywalking series blog 2-skywalking using
华为云“四个可靠”的方法论
Do not understand UML class diagram? Take a look at this edition of rural love class diagram, a learn!
PHPSHE 短信插件说明
你的财务报告该换个高级的套路了——财务分析驾驶舱
WeihanLi.Npoi 1.11.0/1.12.0 Release Notes
[performance optimization] Nani? Memory overflow again?! It's time to sum up the wave!!
比特币一度突破14000美元,即将面临美国大选考验
H5 makes its own video player (JS Part 2)
Elasticsearch database | elasticsearch-7.5.0 application construction