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
970
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
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
840
コンテナサプライチェーンセキュリティ
kyohmizu
1
110
「正しく」失敗できる チームの作り方 〜リアルな事例から紐解く失敗を恐れない組織とは〜 / A team that can fail correctly
i35_267
1
550
次世代KYC活動報告 / 20250219-BizDay17-KYC-nextgen
oidfj
0
410
なぜ私は自分が使わないサービスを作るのか? / Why would I create a service that I would not use?
aiandrox
0
880
生成 AI プロダクトを育てる技術 〜データ品質向上による継続的な価値創出の実践〜
icoxfog417
PRO
5
1.8k
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
920
株式会社EventHub・エンジニア採用資料
eventhub
0
4.3k
白金鉱業Meetup Vol.17_あるデータサイエンティストのデータマネジメントとの向き合い方
brainpadpr
7
920
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
670
Share my, our lessons from the road to re:Invent
naospon
0
110
Windows の新しい管理者保護モード
murachiakira
0
180
Featured
See All Featured
Producing Creativity
orderedlist
PRO
344
39k
Optimizing for Happiness
mojombo
376
70k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
For a Future-Friendly Web
brad_frost
176
9.5k
Documentation Writing (for coders)
carmenintech
67
4.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Site-Speed That Sticks
csswizardry
4
390
Why Our Code Smells
bkeepers
PRO
336
57k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Into the Great Unknown - MozCon
thekraken
35
1.6k
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!