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
16
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
24
a billion low end devices and their users
tamzi
0
18
a data structures primer
tamzi
1
26
kotlin MultiPlatform
tamzi
1
51
oh My Tools!
tamzi
1
24
15min Puzzlers
tamzi
1
20
Monetzing Android Applications
tamzi
1
71
Think of the next billion users: Building for Low End devices
tamzi
0
20
the State of the Assistant in 2019
tamzi
1
17
Other Decks in Technology
See All in Technology
ハードウェアを動かすTypeScriptの世界
9wick
3
1.2k
本当のガバクラ基礎
toru_kubota
0
320
生成AIがもたらす変革 / GitHubGalaxy_CyberAgent
cyberagentdevelopers
PRO
2
110
データ分析力を高めるSQL研修サービス『SQL Everyone』
hikarut
1
390
エムスリーマルチデバイスチーム紹介資料 / Introduction of M3 Multi Device Team
m3_engineering
1
160
QAエンジニアが伝えたい品質保証の羅針盤 / Compass for Quality Assurance
mii3king
1
330
From here to resilience - a travel guide
ufried
1
160
Databricksの生成AI戦略
taka_aki
1
370
OPENLOGI Company Profile for engineer
hr01
1
2.2k
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
12
7.9k
汎用ポリシー言語Rego + OPAと認可・検証事例の紹介 / Introduction Rego & OPA for authorization and validation
mizutani
1
150
スクラムに出会って「できた」を実感できるようになってきた話 / Scrum makes me feel like I can do it
yayoi_dd
2
110
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
The Brand Is Dead. Long Live the Brand.
mthomps
49
30k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Agile that works and the tools we love
rasmusluckow
325
20k
Infographics Made Easy
chrislema
238
18k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Clear Off the Table
cherdarchuk
86
310k
Web Components: a chance to create the future
zenorocha
306
41k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
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