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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lucas Arantes
January 22, 2018
Programming
87
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
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
770
t *testing.T は どこからやってくるの?
otakakot
1
930
ハーネスエンジニアリングとは?
kinopeee
13
6.9k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
380
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
620
AIと共に生きる技術選定 2026
sgash708
0
140
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
200
Kingdom of the Machine
yui_knk
2
1.5k
[RubyKaigi 2026] Require Hooks
palkan
1
310
20260514_its_the_context_window_stupid.pdf
heita
0
920
継続的な負荷検証を目指して
pyama86
3
1.1k
PHPer、Cloudflare に引っ越す
suguruooki
1
160
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
5.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
44
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
110
Code Reviewing Like a Champion
maltzj
528
40k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
440
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
The untapped power of vector embeddings
frankvandijk
2
1.7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
370
Making the Leap to Tech Lead
cromwellryan
135
9.8k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
520
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