https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

maarten ha

05/10/2021, 11:33 AM
Hi, I’m new to kotlin and especially to multiplatform, but I am trying to work on an kmm project and would like to use a D-KMP architecture. The issue is I’m a student that started coding 2 years ago and have mostly worked on web development. We’ve done a little react native app but nothing with native programming. I was hoping someone could help me with understanding how the architecture works (practical not theoretical). And if this would be a goed way to learn kotlin / mobile development / desktop / (web) as multiplatform.
s

Sean Keane

05/10/2021, 11:57 AM
I'm not sure if you've used any of the mentioned frameworks before such as Jetpack compose and Swift UI, but I would recommend that you try the following tutorials to get a hands on feel for the UI aspect and state before diving into sharing them all on each platform. https://developer.android.com/jetpack/compose/state https://developer.apple.com/tutorials/swiftui https://play.kotlinlang.org/hands-on/Building%20Web%20Applications%20with%20React%20and%20Kotlin%20JS/01_Introduction Hopefully these will give you a better idea as to the DUI layer in D-KMP. It will also guide you to how each platform works independently.
r

rudolf.hladik

05/10/2021, 12:06 PM
I don’t get the “D-KMP architecture”. What I see is MVI architecture used with kotlin multiplatform technology and declarative frameworks.
m

maarten ha

05/10/2021, 12:24 PM
I will look into it. I know react (javascript not kotlin/js) better then swiftui and jetpack compose, but there will still be a learning curve to it. I’m not really familiar with any architecture. I might use them unnoticed but I don’t really think about it. I saw this passing when I was watching a

youtube video

then this passed by and looked nice to learn, to have more things in shared. Thanks for the replies
👍 1
2 Views