$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Clean Architecture
Search
Lucas Arantes
January 22, 2018
Programming
3
82
Clean Architecture
Lucas Arantes
January 22, 2018
Tweet
Share
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
250
The pragmatic programmer
lucasprag
0
120
Hello Docker!
lucasprag
0
74
The Pragmatic Programmer
lucasprag
1
160
Hello Swift!
lucasprag
1
48
Other Decks in Programming
See All in Programming
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
450
FluorTracer / RayTracingCamp11
kugimasa
0
230
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
9
1.1k
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
6
1.3k
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
110
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
160
AIコーディングエージェント(Gemini)
kondai24
0
210
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
730
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
660
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.4k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
Building an army of robots
kneath
306
46k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Embracing the Ebb and Flow
colly
88
4.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Statistics for Hackers
jakevdp
799
230k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
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