Simple play icon Course
Skills Expanded

Building Web Applications in Kotlin 1 Using Ktor

by Kevin Jones

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.

What you'll learn

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 1 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.

Table of contents

Course Overview

About the author

A long time ago in a university far, far away Kevin fell in love with programming. Initially on the university's DEC20 computer doing BASIC and Pascal and a little bit of Fortran. His first job had him writing batch PL/1 on an IBM mainframe where he also discovered the arcane delights of JCL. He soon realized the multiuser systems were not for him after discovering the delights of dBase IV on IBM PCs. From here it was all downhill as he became addicted to C and the Windows API. Just missing out ... more

Ready to upskill? Get started