KotlinConf 2018 - Building Server Backends with Ktor by Ryan Harter
Вставка
- Опубліковано 14 жов 2018
- Recording brought to you by American Express americanexpress.io/kotlin-jobs
Using Ktor from JetBrains, you can easily build a server backend using a composable DSL and Kotlin features like coroutines. Ktor runs in standard server environments, like Google's App Engine, which will host and scale your backend automatically.
In this talk we build an in app purchase verification backend for your app from scratch, using Ktor. You'll see how Ktor's composable DSL makes server development fast and easy, and understand how you can quickly build a REST API and admin interface.
About Ryan Harter:
I'm the Android developer at Pixite where I work on Pigment, and I'm also a Google Developer Expert for Kotlin and Android. I've been developing Android apps since 2009 and love working on anything fun, usually graphics related. - Наука та технологія
Great talk/ content, just starting out with and Ktor and I already love it.
whats the benefit to using spring-boot? seems pointless if you already use that
awesome presentation, very good presenting skills, thank you
Really good! Thank you Ryan
Excellent talk
Great presentation
Thanks for a great presentation!
Glad you enjoyed it!
Great Talk ! Thank you
Thank you!
Ktor is awesome!
Hi Ryan, could you please share how you handle those asynchro calls to datastore? I mean you use standart datastore on appengine? Thanks
good presenter.
Can you share full source code of this talk? I hope I can research it and improve my skills.
Nice.
A lot of hard work in presentation. One feedback 13 min in, calling a data class Request is confusing, what you want is ItemSubscriptionBody/Detail.
Hi, I want to ask how to get user by logged in using the @RestController and @AuthenticationPrincipal and API when I try to execute the result is parameter specified as non-null is null. Can anyone help me this issue?
Do you guys things dependency injection frameworks like Springboot or even Micronaut vs more DSL oriented one like Ktor?
Hey, great talk, thanks! I have a question about the code at 17:40 specifically about `async` usage in it. Do we need to run network requests concurrently? As `async` does exactly that if I'm not mistaken.
network requests are I/O operation it's best if it was handled async, the code inside the async block here is suspended and he's waiting for the result coming from this operation (without blocking the entire thread he's running on) to serve the request, that's why he wrapped it inside an async block
awesome
Great talk! Anyone know what software he used to build up these slides?
keynote
What kind of presentation software is he using? Anybody knows?
didn't he mention Keynote?
I'd really like to see how it is better than Spring Boot.
Is this open sourced?
Yes, Ktor is - blog.jetbrains.com/kotlin/2018/11/ktor-1-0/
ktor impression is that code involves a lot of "magic"
Opposite of that. Spring Boot requires a lot of magic. ktor is as straightforward as it gets
Moin