#Kotlin #Spring #Server
In this episode of Spring Time in Kotlin, we explore Kotlin extensions and their applicability in backend development with Spring Framework. Spring provides a number of Kotlin extensions to make its API more convenient for Kotlin programs. A combination of extension functions and syntactic sugar, such as trailing lambdas, will help you to write nice-looking server-side code that is easy to read and maintain.
0:00 Introduction
0:51 Extension functions
2:26 Trailing lambdas
5:02 Spring JdbcTemplate
6:03 Configuring H2 data source
7:00 Query data from the database
8:15 JdbcTemplate API
8:45 Kotlin extensions for JdbcTemplate
10:19 New GET endpoint
10:55 Handling nulls
11:43 Testing the application
12:31 What have we learned?
Source code: https://github.com/kotlin-hands-on/sp...
Documentation on Kotlin Extensions: https://kotlinlang.org/docs/extension...
Documentation on Kotlin in Spring: https://docs.spring.io/spring-framewo...
Kotlin for Serve-Side development: https://kotlinlang.org/lp/server-side/
На этой странице сайта вы можете посмотреть видео онлайн Kotlin Extensions in Spring Framework длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Kotlin by JetBrains 15 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 8,024 раз и оно понравилось 240 зрителям. Приятного просмотра!