kmm-production-sample
ktor
Our great sponsors
kmm-production-sample | ktor | |
---|---|---|
30 | 48 | |
1,898 | 12,203 | |
1.6% | 1.3% | |
6.1 | 9.5 | |
3 months ago | 6 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#...
-
Compose Multiplatform template
In this official sample app they use SwiftUI and Compose https://github.com/Kotlin/kmm-production-sample
-
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.
-
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/
-
Kotlin Multiplatform Mobile goes Beta
Kotlin Multiplatform Mobile, the cross-platform solution created by JetBrains for sharing Kotlin code across operating systems, has reached Beta after two years in Alpha stage.
-
Flutter's future after Stadia's shutdown
The truth is that I hope that we never see such a scenario, but if it were the case that Google decides to abandon Flutter I hope and wish that we could continue with the project and keep it alive as we know it. Of course, talent in the open source community is not lacking, we would still have to see the level of organization and commitment in this regard, as well as the level of maturity of other multiplatform solutions such as Kotlin Multiplatform Mobile, who could potentially start to outperform Flutter for certain use-cases
-
Ask HN: Native App Development Stack
Really good points.
I think the order in my case will definitely be customer experience first. And for the the rest of the points, we are looking at something similar already, limited user access initially, only one platform perhaps.
On your last point, reusing code among platforms, I was looking into Rust, it seems there isn't yet a good way to share Rust code. I have found https://kotlinlang.org/lp/mobile/ which looks interesting.
-
Create any kind of app with Kotlin
KMM for building cross platform and native apps using code sharing. Docs.
ktor
-
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.
-
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.
-
Tech-stack for web application using Kotlin?
Check https://ktor.io it's from JetBrains and amazing.
- PFA vs SRL
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Network, API - Ktor
What are some alternatives?
Newsletter-Kmm - Newsletter with Kotlin Multiplatform
Quarkus - Quarkus: Supersonic Subatomic Java.
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
vertx-lang-kotlin - Vert.x for Kotlin
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Jooby - The modular web framework for Java and Kotlin
vaadin-on-kotlin - Writing full-stack statically-typed web apps on JVM at its simplest
apollo-android - :robot: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
hexagon - Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform.
Armeria - Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
spark-kotlin - A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha