Kotlin based web framework development in JavaScript environment

OData support
Dr. Ekler Péter
Department of Automation and Applied Informatics

The Kotlin programming language has reached its first stable release more than a year and a half ago, and by now using it on the Java Virtual Machine is well established. Its popularity has been steadily rising in the Android community, and it was even blessed by Google as an officially supported language on the platform. Its creators, JetBrains, are now aiming to take it beyond being a Java replacement on the JVM, and looking to make it a true multiplatform language.

This thesis evaluates one of its less popular --- but officially stable --- target platforms, compiling Kotlin to JavaScript. After providing a rundown of the currently available Kotlin web development libraries and frameworks, it presents the design and implementation of a proof-of-concept framework for Kotlin web development on the JavaScript platform, as well as the implementation of a sample application built on this framework. It focuses on the developer story of using Kotlin in this environment, assessing the ease of interoperability, along with the available tooling and unit testing facilities.

This paper also serves as documentation for the developed framework, detailing its architecture, dependency system, essential implementation details, provided features and services, and the means of building an application with it. It also describes the porting and publication of an originally JVM-based dependency injection library that's utilized by the framework.


Please sign in to download the files of this thesis.