Book Image

Kotlin Blueprints

By : Ashish Belagali, Akshay Chordiya, Hardik Trivedi
Book Image

Kotlin Blueprints

By: Ashish Belagali, Akshay Chordiya, Hardik Trivedi

Overview of this book

Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable, and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Kotlin’s growth is fueled through carefully designed business and technology benefits. The collection of projects demonstrates the versatility of the language and enables you to build standalone applications on your own. You’ll build comprehensive applications using the various features of Kotlin. Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book. You’ll learn how to build a social media aggregator app that will help you efficiently track various feeds, develop a geospatial webservice with Kotlin and Spring Boot, build responsive web applications with Kotlin, build a REST API for a news feed reader, and build a server-side chat application with Kotlin. It also covers the various libraries and frameworks used in the projects. Through the course of building applications, you’ll not only get to grips with the various features of Kotlin, but you’ll also discover how to design and prototype professional-grade applications.
Table of Contents (16 chapters)
Title Page
About the Authors
About the Reviewer
Customer Feedback

Why Spring Boot?

Spring is a great web framework and one of the most popular ones in the Java world. With Spring Boot it became even better. Spring Boot prefers convention over configuration and that eliminates a lot of boilerplate code. It's easier to write configurations. As a result, it feels more lightweight, unlike Spring Framework. Spring Boot is a microservice ready platform.

In a nutshell, Spring Boot helps you to quickly bootstrap your product, and it includes helpful features to push your application to production with almost no fuss. 

Leveraging Kotlin in Spring Boot applications

Using Kotlin for the development of Spring Boot applications is beneficial. Let's look at some of the common Kotlin constructs that are used for building Spring Boot applications.

Extension functions

The extension functions in Kotlin provide an easy way to add new functionality to an existing API in a non-intrusive way. Often, they are used to eliminate the need to write special utility or helper classes....