Building Web Applications in Kotlin Using Ktor

If you are looking to build scalable web services or clients on the JVM then Ktor is for you. Written in Kotlin, this is an extensible, lightweight framework that uses coroutines to provide an easy to test and easy use asynchronous programming model.
Course info
Level
Intermediate
Updated
May 31, 2019
Duration
2h 13m
Table of contents
Course Overview
Building Your First Ktor Application
Adding a REST API
Adding More Routes
Testing the Application
Adding an HTML Front End
Adding Services and Dependency Injection with Koin
Securing the UI
Using Sessions for State
Securing the REST API
Description
Course info
Level
Intermediate
Updated
May 31, 2019
Duration
2h 13m
Description

Many web applications and services are built using the Spring Framework. While Spring is incredibly powerful and useful nobody can accuse it of being lightweight. Many developers look for something that ‘just works’, that does not have too much overhead. In this course, Building Web Applications in Kotlin Using Ktor, you will learn about the framework that more and more JVM developers are looking at as a programming language because of the benefits it has such as support of immutable data and null detection, as well as having less of the bloat of Java. Bring these two together, a lightweight HTTP framework and a nice programming language and you get Ktor. First, you will explore Ktor - an open source project developed by JetBrains, the creators of Kotlin. It is heavily based on Kotlin coroutines and so supports a high degree of asynchrony. Next, you will discover how you can use Ktor to develop both REST and HTML based web sites that are secure and extensible. Finally, you will gain an understanding of how to produce complex server-based applications or standalone HTTP client applications. When you are finished with this course, you will know how to create web applications and REST APIs in Ktor.

About the author
About the author

Kevin has spent way too many years in the software industry. Starting on PL/1 on IBM mainframes then graduating through dBase IV to Windows and eventually onto Java, .Net and now JavaScript where he finally thinks he has found a home until the next new shiny comes along.

More from the author
Java Web Fundamentals
Intermediate
3h 22m
Jun 5, 2019
Kotlin: Using Coroutines
Advanced
3h 50m
Aug 10, 2018
More courses by Kevin Jones
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hi everyone. My name is Kevin Jones, and welcome to my course, Building Web Applications in Kotlin Using Ktor. I am a developer and owner at Rock Solid Knowledge, a software development company based in the United Kingdom. Kotlin is a language that has taken the Java and Android worlds by storm. Ktor is an HTTP server and client framework built using Kotlin and written by JetBrains. This course is an introduction to developing Ktor applications. I concentrate mostly on server-side code, but also cover client-side topics. Some of the major topics we will cover include writing REST APIs, building websites using templates, rooting incoming requests based on verbs and HTTP headers, securing the web application and the REST API using OAuth, and using dependency injection, writing tests and mocking. By the end of this course, you'll know how to create securer, scalable, robust web applications and REST APIs in Ktor. Before beginning the course, you should be familiar with programming Kotlin. I hope you will join me on this journey to learn Ktor with the Building Web Applications in Kotlin Using Ktor course at Pluralsight.