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
25
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
34
a billion low end devices and their users
tamzi
0
22
a data structures primer
tamzi
1
32
kotlin MultiPlatform
tamzi
1
64
oh My Tools!
tamzi
1
36
15min Puzzlers
tamzi
1
23
Monetzing Android Applications
tamzi
1
79
Think of the next billion users: Building for Low End devices
tamzi
0
27
the State of the Assistant in 2019
tamzi
1
22
Other Decks in Technology
See All in Technology
Apache Iceberg Case Study in LY Corporation
lycorptech_jp
PRO
0
350
データエンジニアリング領域におけるDuckDBのユースケース
chanyou0311
9
2.4k
20250304_赤煉瓦倉庫_DeepSeek_Deep_Dive
hiouchiy
2
110
偏光画像処理ライブラリを作った話
elerac
1
180
株式会社Awarefy(アウェアファイ)会社説明資料 / Awarefy-Company-Deck
awarefy
3
11k
Exadata Database Service on Cloud@Customer セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
2
1.5k
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
7
1.7k
JavaにおけるNull非許容性
skrb
2
2.7k
ExaDB-XSで利用されているExadata Exascaleについて
oracle4engineer
PRO
3
270
アジャイルな開発チームでテスト戦略の話は誰がする? / Who Talks About Test Strategy?
ak1210
1
660
スキルだけでは満たせない、 “組織全体に”なじむオンボーディング/Onboarding that fits “throughout the organization” and cannot be satisfied by skills alone
bitkey
0
190
Ruby on Railsで持続可能な開発を行うために取り組んでいること
am1157154
3
160
Featured
See All Featured
A better future with KSS
kneath
238
17k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
430
Visualization
eitanlees
146
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Become a Pro
speakerdeck
PRO
26
5.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
Building an army of robots
kneath
303
45k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
Writing Fast Ruby
sferik
628
61k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
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