Simple play icon Course
Skills

Kotlin Reflection

by Timothy Ghanim

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.

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.

About the author

Timothy is a software developer who's been around for some time now. He started playing with code at an early age and has picked up alot of expertise in many areas of software development on different platforms using many programming languages. He also is very well familiar with many associated technologies and development stacks and has run through the software development lifecycle many times so far. In the past decade, Timothy's focus was on software security, specifically on writing secure c... more

Ready to upskill? Get started