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
Lucas Arantes
January 22, 2018
Programming
3
77
Clean Architecture
Lucas Arantes
January 22, 2018
Tweet
Share
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
230
The pragmatic programmer
lucasprag
0
110
Hello Docker!
lucasprag
0
69
The Pragmatic Programmer
lucasprag
1
150
Hello Swift!
lucasprag
1
45
Other Decks in Programming
See All in Programming
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
290
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.2k
WindowInsetsだってテストしたい
ryunen344
1
190
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
110
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
120
エンジニア向け採用ピッチ資料
inusan
0
160
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
810
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
100
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
470
技術同人誌をMCP Serverにしてみた
74th
0
280
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
Why Our Code Smells
bkeepers
PRO
337
57k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Embracing the Ebb and Flow
colly
86
4.7k
4 Signs Your Business is Dying
shpigford
184
22k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Code Review Best Practice
trishagee
68
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
GraphQLとの向き合い方2022年版
quramy
47
14k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
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