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
770
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
Tableau事例紹介 / Tableau Case Study of Eureka
kazuya_araki_tokyo
1
170
コンパウンドスタートアップのためのスケーラブルでセキュアなInfrastructure as Codeパイプラインを考える / Scalable and Secure Infrastructure as Code Pipeline for a Compound Startup
yuyatakeyama
3
2.2k
LLM とプロンプトエンジニアリング/チューターをビルドする / LLM and Prompt Engineering and Building Tutors
ks91
PRO
0
220
自動生成を活用した、運用保守コストを抑える Error/Alert/Runbook の一元集約管理 / Centralized management of Error/Alert/Runbook to minimize operational costs using automated code generation
biwashi
9
2.1k
人間の尊厳、幸福、アクセシビリティ / 第116回「WEB TOUCH MEETING」アクセシビリティSP
nulabinc
PRO
2
180
Microsoft Cloudで開発ライフサイクルを保護する
kkamegawa
0
140
「手動オペレーションに定評がある」と言われた私が心がけていること / phpcon_odawara2024
blue_goheimochi
2
320
Hands-on / Kaname Frusawa / Cloud Compare Users Meetup 2024 at University of Tokyo on April 17
paraworld
2
470
Databricksを活用してDELISH KITCHENのレシピレコメンドを開発した話
furu8
0
250
テストプロセスで大事にしていること #jasstnano
makky_tyuyan
0
110
コンテナセキュリティの基本と脅威への対策
kyohmizu
3
690
Signals Unleashed: The Full Guide
rainerhahnekamp
0
360
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
How to train your dragon (web standard)
notwaldorf
72
5.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
Why Our Code Smells
bkeepers
PRO
331
56k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
186
16k
Adopting Sorbet at Scale
ufuk
67
8.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
154
14k
4 Signs Your Business is Dying
shpigford
175
21k
Documentation Writing (for coders)
carmenintech
59
3.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
RailsConf 2023
tenderlove
2
530
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!