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
RafaelOrtega
July 28, 2017
Technology
0
960
Clean architecture
Some insights on how we use Clean Architecture principles at Trivago, in the Android team.
RafaelOrtega
July 28, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
Helm , Kustomize に代わる !? 次世代 k8s パッケージマネージャー Glasskube 入門 / glasskube-entry
parupappa2929
0
250
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
350
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
Developer Summit 2025 [14-D-1] Yuki Hattori
yuhattor
19
6.2k
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
8
1.5k
地方拠点で エンジニアリングマネージャーってできるの? 〜地方という制約を楽しむオーナーシップとコミュニティ作り〜
1coin
1
230
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
18
7.5k
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
2.1k
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
590
自動テストの世界に、この5年間で起きたこと
autifyhq
10
8.5k
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
540
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
720
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Practical Orchestrator
shlominoach
186
10k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Speed Design
sergeychernyshev
27
790
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Unsuck your backbone
ammeep
669
57k
Automating Front-end Workflow
addyosmani
1368
200k
Transcript
Clean architecture: Decision making
@AdamHarazim @ortiOficial
Team Android
Agenda 1. What is it 2. Forget the Framework! 3.
Examples
What is it?
None
• Hexagonal architecture • Onion software • Screaming architecture -
Fixed rules - Specific rules - Silver bullet
• Independent from libraries • Testability • Flexibility • Scalability
• Separation of concerns • Dependency management • Code & model replication + mappers • Overengineering
Forget the Framework!
None
Screaming architecture – Android
Screaming architecture – clean architecture
Screaming architecture – our solution
Screaming architecture – our solution
Examples
MVVM
MVVM - Testing
Repositories
Sum up • No silver bullets • Write code for
your colleages, not for the machine • Do not overengineer
Resources https://8thlight.com/blog/uncle-bob/2011/09/30/Screaming-Architecture.html https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html http://tech.trivago.com/2017/01/30/reportoire-the-journey-to-data-source-independency/
Thank you!