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
88
3
Share
Clean Architecture
Lucas Arantes
January 22, 2018
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
270
The pragmatic programmer
lucasprag
0
130
Hello Docker!
lucasprag
0
79
The Pragmatic Programmer
lucasprag
1
170
Hello Swift!
lucasprag
1
51
Other Decks in Programming
See All in Programming
AgentCore Optimizationを始めよう!
licux
4
270
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
180
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
2.2k
[BalkanRuby 2026] Drop your app/services!
palkan
3
640
横断組織出身のQAEがインプロセスQAEでつまずいたこと・活かせたこと
ty89
0
170
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
5
970
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
220
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
3
520
20260514_its_the_context_window_stupid.pdf
heita
0
1.1k
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
110
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
460
Sans tests, vos agents ne sont pas fiables
nabondance
0
150
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Statistics for Hackers
jakevdp
799
230k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Prompt Engineering for Job Search
mfonobong
0
310
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
Practical Orchestrator
shlominoach
191
11k
Balancing Empowerment & Direction
lara
6
1.1k
We Have a Design System, Now What?
morganepeng
55
8.1k
My Coaching Mixtape
mlcsv
0
130
The Pragmatic Product Professional
lauravandoore
37
7.3k
Abbi's Birthday
coloredviolet
2
7.7k
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