Hi guys I'm extremely new to kobweb and I'm lookin...
# kobweb
f
Hi guys I'm extremely new to kobweb and I'm looking into creating a full multiplatform solution as practice, basically being able to run a shared logic on mobile with compose and web with kobweb. Could someone maybe point me to an example or template project implementing kobweb and kmmobile?
d
I believe what you are looking for is this course by Stevdza-san:

https://www.youtube.com/watch?v=zcrY0qayWF4

There is a link to the project code in there
Just to make sure -- If you are expecting to write UI once and use it on Android and web both, that's Compose Multiplatform and not Kobweb's approach. For Kobweb, you'll have a different UI codebase for Android and web, but you can share business logic with KMP.
f
Yes I saw this course but ironically Stefan implements only Android, since he doesn't have a Mac, I saw he created an Android module but I don't know what changes might incur when doing multiplatform.
O no yes I understand that, but to my understanding Kotlin/wasm is in it's very early stages and most web solutions I'm thinking of would have different UI, mostly used as an admin page for clients to upload data that will be used in mobile, which would have its own UI
Just realize you are actually the Kobweb developer 😅
d
Yea 🙂
I mean, Kobweb is still early days, so resources are going to be a bit thin. In fact, maybe it will be YOU who makes the repository that showcases Kobweb and iOS 😉
😅 1
But Stevdza-san's source is still definitely the right idea. You'll create a Kobweb site project, and then your other KMP projects. You share what you can but web is fundamentally different from the rest of Compose Multiplatform. You may break out some common modules that both your KMP and your Kobweb site modules can share.
f
Yes definitely on that track, I'll finish the course and play around with implementing iOS, hopefully maybe be able to contribute with an example POC! Thank you for answering my question, and amazing work with kobweb!
d
Thanks Felipe! And thanks for being willing to try things out early. My work on Kobweb means nothing without the community using it and supporting it!
💪 1