Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Clean Architecture
Search
Lucas Arantes
January 22, 2018
Programming
90
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
150
Hello Docker!
lucasprag
0
80
The Pragmatic Programmer
lucasprag
1
180
Hello Swift!
lucasprag
1
61
Other Decks in Programming
See All in Programming
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
490
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
370
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.4k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
590
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
540
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
130
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
860
速習iPhone Duo対応
yuukiw00w
2
840
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
290
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Navigating Weather and Climate Data
rabernat
0
540
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
950
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
A Soul's Torment
seathinner
8
3.6k
WENDY [Excerpt]
tessaabrams
14
39k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Designing for Timeless Needs
cassininazir
1
510
My Coaching Mixtape
mlcsv
0
330
The World Runs on Bad Software
bkeepers
PRO
72
12k
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