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
KMM Architecture and Modularization
Search
Frank Tamre
June 25, 2022
Technology
0
28
KMM Architecture and Modularization
In this talk we go through KMM Modularization.
Frank Tamre
June 25, 2022
Tweet
Share
More Decks by Frank Tamre
See All by Frank Tamre
You Can GetX it
tamzi
0
37
a billion low end devices and their users
tamzi
0
26
a data structures primer
tamzi
1
34
kotlin MultiPlatform
tamzi
1
70
oh My Tools!
tamzi
1
40
15min Puzzlers
tamzi
1
27
Monetzing Android Applications
tamzi
1
82
Think of the next billion users: Building for Low End devices
tamzi
0
31
the State of the Assistant in 2019
tamzi
1
26
Other Decks in Technology
See All in Technology
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
140
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
190
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.5k
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.9k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
380
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
230
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
180
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
270
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Embracing the Ebb and Flow
colly
88
5k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
KATA
mclloyd
PRO
34
15k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Navigating Team Friction
lara
192
16k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
So, you think you're a good person
axbom
PRO
2
1.9k
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