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
Transcript
37 slides
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
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
280
The pragmatic programmer
lucasprag
0
150
Hello Docker!
lucasprag
0
81
The Pragmatic Programmer
lucasprag
1
190
Hello Swift!
lucasprag
1
62
Other Decks in Programming
See All in Programming
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
210
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
Distance field of Julia set
kinakomoti321
0
320
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
370
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
ActionController meets Protocol Buffers
sorah
1
800
Performance Optimization With LLMs
xleitix
0
250
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
190
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
Featured
See All Featured
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Designing for Performance
lara
612
70k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Side Projects
sachag
456
43k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k