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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Lucas Arantes
January 22, 2018
Programming
3
85
Clean Architecture
Lucas Arantes
January 22, 2018
Tweet
Share
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
75
The Pragmatic Programmer
lucasprag
1
170
Hello Swift!
lucasprag
1
50
Other Decks in Programming
See All in Programming
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
390
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
2.6k
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
350
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
190
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
290
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
310
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
840
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
170
PHPで TLSのプロトコルを実装してみる
higaki_program
0
310
AI 開発合宿を通して得た学び
niftycorp
PRO
0
160
Featured
See All Featured
Building Adaptive Systems
keathley
44
3k
Building Applications with DynamoDB
mza
96
7k
Producing Creativity
orderedlist
PRO
348
40k
Music & Morning Musume
bryan
47
7.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
400
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
110
Darren the Foodie - Storyboard
khoart
PRO
3
2.9k
Writing Fast Ruby
sferik
630
63k
Skip the Path - Find Your Career Trail
mkilby
1
86
Un-Boring Meetings
codingconduct
0
230
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