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
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
DevOps文化を育むQA 〜カルチャーバブルを生み出す戦略〜 / 20250317 Atsushi Funahashi
shift_evolve
1
120
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
540
OPENLOGI Company Profile
hr01
0
62k
OCI見積もり入門セミナー
oracle4engineer
PRO
0
160
SREが実現する開発者体験の革新
sansantech
PRO
0
110
AWS CDK コントリビュート はじめの一歩
yendoooo
1
130
30 代子育て SRE が考える SRE ナレッジマネジメントの現在と将来
kworkdev
PRO
0
170
Vision Language Modelを活用した メルカリの類似画像レコメンドの性能改善
yadayuki
9
1.3k
Amazon EKS Auto ModeでKubernetesの運用をシンプルにする
sshota0809
0
130
ソフトウェアプロジェクトの成功率が上がらない原因-「社会価値を考える」ということ-
ytanaka5569
0
140
ルートユーザーの活用と管理を徹底的に深掘る
yuobayashi
8
740
Cline、めっちゃ便利、お金が飛ぶ💸
iwamot
20
19k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
How to Think Like a Performance Engineer
csswizardry
22
1.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Typedesign – Prime Four
hannesfritz
41
2.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Side Projects
sachag
452
42k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
29
2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
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!