Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Clean Architecture
Search
Lucas Arantes
January 22, 2018
Programming
86
3
Share
Clean Architecture
Lucas Arantes
January 22, 2018
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
260
The pragmatic programmer
lucasprag
0
120
Hello Docker!
lucasprag
0
76
The Pragmatic Programmer
lucasprag
1
170
Hello Swift!
lucasprag
1
51
Other Decks in Programming
See All in Programming
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
270
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
130
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
240
安いハードウェアでVulkan
fadis
1
910
3分でわかるatama plusのQA/about atama plus QA
atamaplus
0
110
感情を設計する
ichimichi
5
1.2k
iOS機能開発のAI環境と起きた変化
ryunakayama
0
160
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
340
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
3
520
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
Site-Speed That Sticks
csswizardry
13
1.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Facilitating Awesome Meetings
lara
57
6.8k
エンジニアに許された特別な時間の終わり
watany
106
240k
A Tale of Four Properties
chriscoyier
163
24k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
790
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
500
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
Clean Architecture Lucas Oliveira
None
twitter.com/fbzga | magnetis.com.br
What is clean architecture?
the problem
None
It is screaming: web framework!
The web is a delivery system request
Yet it dominates your code
proposal
None
None
None
None
None
None
What about MVC? Trygve Reenskaug
MVC as a software architecture
this is not what I mean =(
None
Let's see a real world use case
app/models/invoice.rb
Who is calling?
None
None
None
None
Who you gonna call? Accountant Accounting Caretaker Operator Salesman Bank
Map
More important than that, it separates
What the system is
Data stable
What the system does
Behavior changes
Now, I can see what our app does.
Especial thanks to: Iugu | Uncle Bob | Fabiano Beselga
Thank you
When should I use those use cases and when not?
this is a FAKE tweet
this is a FAKE tweet