Go to content

Direct2DB: Radically simplified app architecture with Kotlin by Mike Hearn

Recording brought to you by American Express. https://americanexpress.io/kotlin-jobs In this talk I'll argue that the combination of Kotlin, Jetpack Compose Multiplatform and a new product (Hydraulic Conveyor) makes it realistic to radically simplify the design of typical database apps. In the Direct2DB model there are no web servers, load balancers or REST APIs. Instead you ship JVM desktop and mobile apps that connect directly to the relational database using JDBC. The database provides the RPC protocol, result streaming, user authentication and more. Kotlin and Jetpack Compose are used for all the client side logic, and finally, Conveyor makes packaging and updating the results as easy as with a web app. I'll show an app written this way, discuss the advantages and disadvantages and outline the next steps for this design. Talk by: Mike Hearn #compose #KotlinConf

April 12, 2023