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
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Clean architecture
Some insights on how we use Clean Architecture principles at Trivago, in the Android team.
RafaelOrtega
July 28, 2017
Other Decks in Technology
See All in Technology
変更し続けられるシステムをどう保つか — AI時代のSSoTという設計原則
kawauso
1
1.2k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
180
複数プロダクトで進めるAI機能実装 ── 実践から得たリアルな学びとロードマップ実現への挑戦 / AICon2026_yanari
rakus_dev
1
280
AI_Dev_Day_製造業領域でのAI活用から見た活用の罠と成功に導く実践知.pdf
kintotechdev
0
190
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
450
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
180
それでも、技術なブログを書く理由 #kichijojipm / Why I Still Write Tech Blogs Even Now
shinkufencer
0
750
書籍セキュアAPIについて
riiimparm
0
320
「休む」重要さ
smt7174
6
1.7k
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
6
680
Jitera Company Deck
jitera
0
520
Featured
See All Featured
Designing for Performance
lara
611
70k
Visualization
eitanlees
152
17k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
4 Signs Your Business is Dying
shpigford
187
22k
Tell your own story through comics
letsgokoyo
1
1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
390
A Modern Web Designer's Workflow
chriscoyier
698
190k
Making the Leap to Tech Lead
cromwellryan
135
10k
How to make the Groovebox
asonas
2
2.3k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
910
Writing Fast Ruby
sferik
630
63k
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!