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
71
Clean Architecture
Lucas Arantes
January 22, 2018
Tweet
Share
More Decks by Lucas Arantes
See All by Lucas Arantes
Elixir 101
lucasprag
1
210
The pragmatic programmer
lucasprag
0
110
Hello Docker!
lucasprag
0
68
The Pragmatic Programmer
lucasprag
1
140
Hello Swift!
lucasprag
1
42
Other Decks in Programming
See All in Programming
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
450
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
現場で役立つモデリング 超入門
masuda220
PRO
15
3.1k
推し活としてのrails new/oshikatsu_ha_iizo
sakahukamaki
3
2k
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
500
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
300
Click-free releases & the making of a CLI app
oheyadam
2
100
Jakarta EE meets AI
ivargrimstad
0
150
カスタムしながら理解するGraphQL Connection
yanagii
1
1.5k
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
120
Kaigi on Rails 2024 - Rails APIモードのためのシンプルで効果的なCSRF対策 / kaigionrails-2024-csrf
corocn
5
3.7k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
600
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Unsuck your backbone
ammeep
668
57k
Teambox: Starting and Learning
jrom
133
8.8k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Adopting Sorbet at Scale
ufuk
73
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Code Review Best Practice
trishagee
64
17k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
GraphQLとの向き合い方2022年版
quramy
43
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.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