Simple play icon Course
Skills Expanded

droidcon NYC '19: Connect Platforms with a Kotlin DSL

by droidcon NYC

droidcon NYC 2019 | Connect Platforms with a Kotlin DSL | Patrick Cousins

What you'll learn

Not everyone can jump right into a Kotlin Multiplatform world. Many developers have legacy codebases and need to support their businesses first. Yet, those developers can already use Kotlin to connect their platforms and realize significant value. In this talk, Patrick Cousins will teach you to build a DSL that defines a contract between an API and its clients. He will also make your DSL into a common vocabulary that translates platform idiosyncrasies. Then, by connecting it to CI, he'll enforce the contract to keep platforms on speaking terms. The examples in this talk will be from Sprout, an internal library in development at Etsy. The Sprout Kotlin DSL is the seed that generates code for many platforms: Retrofit endpoints, Moshi models, Swift, PHP, and more.

Table of contents

Connect Platforms with a Kotlin DSL
35mins

About the author

Droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. Droidcon engages a global network of over 25,000 developers attending events in 22 cities. The first droidcon conference was held in 2009 in Berlin and, since, it has spread its influence across the globe and established itself as the world's foremost community-driven conference format. Droidcon is the place to meet the international A... more

Ready to upskill? Get started