Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
KMM Architecture and Modularization
Search
Frank Tamre
June 25, 2022
Technology
33
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
KMM Architecture and Modularization
In this talk we go through KMM Modularization.
Frank Tamre
June 25, 2022
More Decks by Frank Tamre
See All by Frank Tamre
You Can GetX it
tamzi
0
48
a billion low end devices and their users
tamzi
0
42
a data structures primer
tamzi
1
41
kotlin MultiPlatform
tamzi
1
78
oh My Tools!
tamzi
1
45
15min Puzzlers
tamzi
1
37
Monetzing Android Applications
tamzi
1
90
Think of the next billion users: Building for Low End devices
tamzi
0
51
the State of the Assistant in 2019
tamzi
1
32
Other Decks in Technology
See All in Technology
Databricksメトリクスビューはじめてのもくもく会
taka_aki
0
170
個別開発で終わらせない。 現場の課題をプロダクトの強さに変える StockmarkのFDE
ktkrhr
0
550
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
220
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
6
2k
データ品質を壊しながらSnowflakeのAIに分析させてみた
kawanago
0
440
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
390
雪かき部 #7 もう怖くない!SELECT文!
foursue
0
270
並行性の問題を防げ!実践トランザクション入門
occhi
0
240
大阪オフィスに Unitree Go2 がやってきたので Physical AI やってみた
dafujii
0
250
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
sanghyuk
0
260
いちAWSエンジニアのAI活用を振り返る #devio2026 / devio osaka 2026 kawahara
masahirokawahara
2
330
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
150
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Side Projects
sachag
456
43k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Ruling the World: When Life Gets Gamed
codingconduct
0
380
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Into the Great Unknown - MozCon
thekraken
41
2.7k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The Cost Of JavaScript in 2023
addyosmani
55
10k
How to train your dragon (web standard)
notwaldorf
97
6.8k
Transcript
frank tamre @tamrefrank KMM: an architecture & modularization short story
who am i?
frank tamre
kyosk
do stuff
kotlin recipes
kotlin recipes @kotlinrecipes
Jetpack composed
@jetpackcomposed Jetpack composed
KMM: an architecture & modularization short story
what I will cover agenda various approaches the bad modularization.
architecture. KMM context q&a
_
_architecture
architecture architecture architecture
architecture architecture - Mark Richards and Neal Ford Software Architecture:
The Hard Parts (2021) Fundamentals of Software Architecture (2020) - Mark Richards ,Neal Ford, Pramad Sadalage & Zhamak Dehgani
architecture architecture architecture is…
architecture architecture not static
architecture architecture evolves over: - time - developers
architecture architecture blueprint of the system
architecture architecture No one true AWESOME
architecture architecture architecture decisions
architecture architecture design principles architecture decisions
architecture architecture design principles architecture decisions structure
architecture architecture design principles architecture decisions structure
architecture architecture architecture decisions
architecture architecture define rules how system should be constructed
architecture architecture design principles
architecture architecture a guideline to building your system
architecture architecture architecture characteristics
architecture architecture define the success criteria of a system
architecture architecture 12
architecture architecture 10-tys and 2-ces
architecture architecture availability reliability testability scalability recoverability elasticity deployability learnability
security agility
architecture architecture fault tolerance
architecture architecture fault tolerance performance
architecture architecture availability reliability testability scalability recoverability elasticity deployability learnability
security agility fault tolerance performance
_
_modularization
modularization modularization Clean C++20: Sustainable Software Development Patterns and Best
Practices By Stephen Roth
modularization modularization “an approach to divide a software system into
multiple discrete and, ideally, independent building blocks (modules).”
modularization modularization “each module is expected to carry out a
specific task of the software independently.”
modularization modularization “each module is expected to carry out a
specific task of the software independently.”
modularization modularization Modularization has principles
modularization modularization 2 principles
modularization modularization Single Responsibility Principle
modularization modularization Single Responsibility Principle each software unit—and these include,
among others, modules, classes, and functions—should have only one single, well-defined responsibility.
modularization modularization Single Level Abstraction
modularization modularization Single Level Abstraction each software unit should be
composed of parts that are all at the next lower level of abstraction.
modularization modularization SLA + SRP
modularization modularization reflect the real world
modularization modularization • Information hiding • Strong cohesion • Loose
coupling
_
_kmm context
mkahawa
modularization modularization platform code legend shared KMM logic
Behance Sample Apps
modularization modularization android platform UI code windows platform UI code
ios platform UI code .github/workflows shared bLoc1 util bLoc2 Kotlin gradle files
modularization modularization shared offers checkOut cart profile Rewards outlets
modularization modularization util data UIsystem Res
modularization modularization util Kotlin gradle files dataSrc coffeeRepository offersRepository …Repository
data Mappers coffeeMappers offersMappers …Mappers
modularization modularization util Kotlin gradle files UISystem type animations colors
imageSrcs
_
_various approaches
modularization modularization victorKabata: KMM Template & Notflix kotlin: KMM production
sample terrakok: KMM awesome copperleaf: KaMPKit ballast
modularization modularization
_
_the bad
the bad the bad you NEED a macBook
the bad the bad Learn IOS Dev - swiftUI
_in summary
summary summary _no silver bullet
summary summary _no silver bullet _your needs
summary summary _no silver bullet _your needs _your experience
summary summary _no silver bullet _your needs _your experience _#keepLearning
summary summary _no silver bullet _your needs _your experience _#beExperimental
_#keepLearning
_q&a