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.2k
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
Security Hub と出会ってから 1年半が過ぎました
rch850
0
180
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
2
140
SOC2は、取った瞬間よりその後が面白い
3flower
1
210
GitHub Copilot CLI 現状確認会議
torumakabe
12
4.8k
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
160
[Iceberg Meetup #4] ゼロからはじめる: Apache Icebergとはなにか? / Apache Iceberg for Beginners
databricksjapan
0
490
人はいかにして 確率的な挙動を 受け入れていくのか
vaaaaanquish
4
2.6k
エンジニアとマネジメントの距離/Engineering and Management
ikuodanaka
3
630
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
270
Databricks Free Edition講座 データサイエンス編
taka_aki
0
210
かわいい身体と声を持つ そういうものに私はなりたい
yoshimura_datam
0
510
ドキュメントからはじめる未来のソフトウェア
pkshadeck
4
1.6k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
New Earth Scene 8
popppiees
1
1.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Building Adaptive Systems
keathley
44
2.9k
Chasing Engaging Ingredients in Design
codingconduct
0
100
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
300
Google's AI Overviews - The New Search
badams
0
890
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
270
We Are The Robots
honzajavorek
0
140
Designing for Performance
lara
610
70k
From π to Pie charts
rasagy
0
120
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!