Ktor From the Ground Up

preview_player
Показать описание
0:00 Introduction
3:07 Getting started
7:01 New project wizard
13:03 HTML DSL
19:05 Ktor modules
20:42 Custom configuration
22:41 Testing
24:23 JSON
25:55 Webjars & WebSockets
29:05 More features
31:46 Routing
33:44 Authentication
35:56 Locations feature
41:54 Data conversion
44:47 Status pages
46:28 Asynchronous request handling
49:55 More Ktor samples
52:02 Outro

Ktor is an asynchronous web framework built using Kotlin and coroutines. It enables developers to create both server and client applications targeting a variety of platforms including JVM, JavaScript, macOS, Windows, and Linux.
In this webinar, we’re going to focus primarily on Ktor for backend development. We’ll show how simple it is to create robust asynchronous server-side applications with Ktor as well as look at its deployment models, the features it provides out of the box, and its extensibility model.
Speaker:
Anton Arhipov
Рекомендации по теме
Комментарии
Автор

Thanks for this. I’m a programming newbie, starting to learn Kotlin (reading the book Kotlin in Action), while piecing together a Ktor server backed by a Postgres database, via Exposed. I’m impressed by the open approach that JetBrains possess and the depth of thought put into each product, together with the range on offer. The only regret is that Flutter uses Dart, so have to switch contexts.

johnpaulcarter
Автор

Hi, you asked for suggestions what do I miss in Ktor.
I suggest to improve the JavaDoc. For instance: As someone new to it, I am looking at this code:

val post = call.receive<Parameters>()

And want to look up what it does. Which parameters? Path? Body? Headers? Cookies? What is the precedence? What classes can go as the type param? Is there some annotation system to use?
But JavaDoc gives just:
"Receives content for this request."

That's not really too useful.
Otherwise, nice framework. Good job, keep it going :)

pekarna
Автор

I'm coming from two decades of vanilla PHP, first on Apache and last decade on nginx. I'm finally getting sick of it. 🙂 Since I also didn't like Laravel (at a glance), I started learning Python and Django. Kotlin was an "accident", used it because of Android, and I liked it. My next thought was that it would be nice if you could do everything in Kotlin (front, back, mobile) and apparently you can. I'm considering Ktor for my next commercial project.

gotivac
Автор

When I generate a ktor project, the project does not contain a gradlew file nor a gradlew wrapper like in your example. Why is that?

aechtkuul
Автор

Would like to know how to build rest api’s for Mongodb

paulholsters
Автор

Thanks for the good introduction. It would be nice if the links shown in the video could also be shared in the description of the video, the checklist doesn't seem to be available anymore.

NijdamsMoffel
Автор

Title: overview of some features of Ktor.

HtopSkills
Автор

can you teach ktor multipart server side

RubabAzim
Автор

Definitely miss the Swagger featurre in Ktor.By the way can you give the link to the talk of hadi hariri where he discusses the features in detail?

finestHQ
Автор

It misses the ability to split config to different profiles

loremipsum