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
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基盤のご紹介
orgachem
PRO
7
2.7k
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
130
How to stabilize UI tests using XCTest
akkeylab
0
130
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
210
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
400
AI活用のコスパを最大化する方法
ochtum
0
260
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
250
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.2k
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
620
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.3k
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
200
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
290
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Scaling GitHub
holman
464
140k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
190
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Designing for Timeless Needs
cassininazir
0
170
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
480
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
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