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
1.1k
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
アクセスピークを制するオートスケール再設計: 障害を乗り越えKEDAで実現したリソース管理の最適化
myamashii
1
250
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
470
助けて! XからWaylandに移行しないと新しいGNOMEが使えなくなっちゃう 2025-07-12
nobutomurata
2
130
Sansanのデータプロダクトマネジメントのアプローチ
sansantech
PRO
0
220
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
350
推し書籍📚 / Books and a QA Engineer
ak1210
0
120
ABEMAの本番環境負荷試験への挑戦
mk2taiga
5
620
対話型音声AIアプリケーションの信頼性向上の取り組み
ivry_presentationmaterials
1
600
american aa airlines®️ USA Contact Numbers: Complete 2025 Support Guide
aaguide
0
470
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
500
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
270
モニタリング統一への道のり - 分散モニタリングツール統合のためのオブザーバビリティプロジェクト
niftycorp
PRO
1
220
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
GraphQLとの向き合い方2022年版
quramy
49
14k
Code Reviewing Like a Champion
maltzj
524
40k
Scaling GitHub
holman
460
140k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
830
Producing Creativity
orderedlist
PRO
346
40k
A designer walks into a library…
pauljervisheath
207
24k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
A better future with KSS
kneath
238
17k
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!