kmm-production-sample
ktor
Our great sponsors
kmm-production-sample | ktor | |
---|---|---|
30 | 49 | |
1,937 | 12,246 | |
3.6% | 1.7% | |
6.1 | 9.4 | |
3 months ago | 5 days ago | |
Kotlin | Kotlin | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kmm-production-sample
-
Kotlin Multiplatform for Android and iOS Apps
Business logic is not only about backend. Apps usually have a lot of client-side logic that can be written once in KMM and used on both platforms. See [1] for a high level architecture diagram.
I'm an iOS dev and I've been using KMM on a couple of projects for more than a year now. It's really a powerfull technology which allows teams to move faster, but there are downsides, for example lack of native Swift interop, though there are opensource tools trying to solve this [2].
[1]: https://github.com/Kotlin/kmm-production-sample/tree/master#...
-
Can't pick a Mac for cross platform mobile development. Which one should I go with?
I'm an Android dev for 10+ years and I've decided to give a go with Kotlin Mobile Multiplatform to try iOS development as well. For that purpose I would need a Mac obviously, and Windows 11's flaws don't help either so I made my mind and I would like to pick a Mac as my next developer machine for the next 4-5 years.
- Compose Multiplatform template
-
what is the best way to use flutter to get an iOS app from my kotlin code ?
I don't use iOS, but https://kotlinlang.org/lp/mobile/ claims that using Kotlin works on iOS too. You still will need a Mac though, but that's pretty much a given if you want to develop iOS apps.
- React or flutter? What is good for future
-
Getting Started Guide for Kotlin Multiplatform Mobile (KMM) with Flexible Sync
Kotlin Multiplatform with Realm as a middle layer.
-
Migrating our Largest Mobile App to React Native
Kotlin Multiplatform. You write the UI fully native for each platform, but have all the business logic as shared code.
-
Flutter for an Electronic Health Record and medical equipment app
maybe people confused it with kotlin multiplatform mobile which indeed support ios but only the business logic. you have to write the ui in swiftui.
-
Kotlin Server Side, but without a JVM
I think the most compeling use for Kotlin Native is mobile. I wonder if it's possible to write a Kotlin multi-platform library that can then be used from the JVM, JS, iOS and Android? What would such library look like from the other languages? This is something I am trying to find out right now, and Kotlin Multiplatform seems to be the only sane choice to do this (but I am not sure yet that it's actually good/possible right now). Any more information about this would be appreciated.
-
Backend Java 19 vs Kotlin?
Kotlin isn't just JVM and Kotlin projects like this one for writing iOS+Android apps look quite promising: https://kotlinlang.org/lp/mobile/
ktor
-
Kotlin Routing - routing everything
In paralel Jetbrains has created a lot of KMP frameworks that are awesome. One of them is Ktor that helps "create asynchronous client and server applications."
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
Spring MVC vs Django vs RoR vs some Kotlin Framework?
take a look at http4k and ktor for Kotlin specific frameworks Spring has first class support for Kotlin e.g. the following will give you reactive HTTP endpoints when using spring-webflux (this is what is use at work):
- Your recommendations for backend?
-
What are good examples of well written code in Kotlin (e.g HTTP4K)
Ktor (Microservices framework by JetBrains)
-
Akka-HTTP in android
For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module
-
Anyone here who uses compose-multiplatform for desktop apps, what’s your feedback?
And last but not least, Ktor Client as our HTTP client. https://ktor.io/ It's a pretty amazing http client library and integrates well with Kotlinx serialization and Coroutines.
-
Which JVM Language Would You Choose for a New Server-Side Project?
Kotlin is going to be great with almost every single JVM server. Spring works well with Kotlin, and is directly supported, but spring is also massive, very bloated. I recommend looking at https://github.com/ktorio/ktor which continues to serve all of my needs very well, integrates fantastically with Kotlin coroutines, and has very fast startup time and very good performance.
-
Exposed RSQL Search Implementation
For the sake of the test, we use Ktor - the easiest way to do so is to use initializer.
-
Learning materials for Spring Boot and/or Quarkus
I know you are looking for Spring Boot and/or Quarkus, but have you tried ktor. Just curios if you had a particular reason for choosing the other 2. Disclaimer: I haven't used ktor.
What are some alternatives?
Newsletter-Kmm - Newsletter with Kotlin Multiplatform
Quarkus - Quarkus: Supersonic Subatomic Java.
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
leakcanary - A memory leak detection library for Android.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
TedImagePicker - TedImagePicker is simple/beautiful/smart image picker
vertx-lang-kotlin - Vert.x for Kotlin
KaMPKit - KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Retrofit - A type-safe HTTP client for Android and the JVM
Jooby - The modular web framework for Java and Kotlin