- Course
Kotlin Reflection
This course will teach you how to use the reflection API for Kotlin and how it can be used to develop a simple Object-Relational Mapping (ORM) library, a model Mapping library, and a Dependency Injection (DI) framework.
- Course
Kotlin Reflection
This course will teach you how to use the reflection API for Kotlin and how it can be used to develop a simple Object-Relational Mapping (ORM) library, a model Mapping library, and a Dependency Injection (DI) framework.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
If you've ever wondered what reflection is and what is it used for, or how to build Test Runners or Object-Relational Mapping libraries, then this course is where you need to be. In this course, Kotlin Reflection, you will learn about the Kotlin Reflection API and use it to develop three basic libraries that will be used to refactor a legacy code base. First, you will see how to develop a simple ORM library that constructs basic INSERT and SELECT statements. Then, you will explore how to develop a simple object mapper that maps from database model objects to business model objects, to separate the data access layer from the business layer. Finally, you will learn how to build a simple Dependency Injection (DI) framework that facilitates construction of dependency implements for Web API controllers. By the end of this course, you will have the skills and knowledge of reflection and Kotlin Reflection API needed to build your own libraries.