Hello! I'm going to start a new hobby code project...
# server
h
Hello! I'm going to start a new hobby code project to learn Kotlin further. It will be frontend client apps (Android, iOS) and backend service. I'm a bit split on which framework to pickbfor backend. Any recommendations between Ktor and Javalin?
g
Do you have any requirements?
If no, just choose what you would like to try
d
I will say Ktor because it's from JB and I think it takes full advantage of Kotlin features
👍 1
j
If you want to check another one, you can try https://hexagonkt.com (disclaimer: I'm the author)
d
Spring is always a good choice as well
👍 6
p
Http4k is nice
d
Ktor
e
I vote Ktor, but only if you’re feeling confident about coroutines 🙂
y
I just did a somewhat similar test (with frontend as html/js) using ktor. Also first project and had a ton of fun doing it 🙂. And I open sourced it https://github.com/ypujante/jamba-quickstart-server to show the features (beyond "Hello World") I ended up using.
h
Thanks for all your input. I already know Spring (mostly used with Java) so the goal is to try something new. Otherwise I don't have any specific requirements, probably going to be quite a simple backend with a few handful of endpoints. I'm leaning towards Ktor since it's completely in Kotlin and gives me a opportunity to grasp coroutines better. Is last year's KotlinConfs talk about it still relevant or is there something newer?
d
There is also Micronaut if you are looking for something closer to Spring but more modern
l
Ktor would probably be best. Here's a sample project you could refer to: https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1553772061003800?thread_ts=1553772061.003800
w
i vote ktor
j
@damian More modern in which way?