Kotlin London September @ Vonage
Details
The September Kotlin London takes place on Thursday 12th September.
This event is hosted and sponsored by Vonage.
Sign up, spread the word and join the conversation!
Schedule:
[6.00 pm] - Find a seat or chat with other attendees
[6.30 pm] - Welcome, Housekeeping and run-through of the day.
[6.35 pm] - Zachary Powell - Building a Kotlin Multiplatform Library in 10 Minutes. Why Not?
[7.15 pm] Pizza break
[7.45 pm] - David Denton - Smash your adapter monolith with the Connect pattern
[8.15 pm] - Wrap Up & Close
Abstract 1:
Day to day we make use of a huge range of libraries when writing code, from the Android software development kit (SDK) to Test libraries, helper classes and everything in between. We also will often need to consume Application Programming Interfaces (APIs) either when talking with third-party systems or just interfacing with our backend application.
Often these APIs don’t have a library, and manually consuming them can be time-consuming, documentation can often be lacking (particularly with internal APIs!) and leaves a lot of ambiguity as to what the API will return, or what parameters it expects.
With OpenAPI, developers can work together to clearly define the API contact and ensure all ambiguity is removed. These specifications can then be used to streamline the process of creating a Kotlin Multiplatform Library to consume and use these APIs.
The session will delve into the fundamentals of OpenAPI and how it serves as a comprehensive standard for API specification.
Attendees will gain insights into the benefits of utilising OpenAPI to define RESTful APIs and how this can significantly expedite the Library development lifecycle.
But let’s not just talk about it, let’s build a Kotlin Multiplatform Library, and use it in an application all within 10 minutes! We will explore the tools and techniques available, and demonstrate how they enable developers to produce robust and efficient libraries without the traditional time-consuming boilerplate coding.
Abstract 2
Server-side code is regularly broken down into manageable chunks, based around endpoints. As a result it tends to be nicely factored. But over several projects we noticed that the same was not true of adapters that talk to 3rd party systems. These pieces of code tended to grow uncontrolled, and were not given the same level of attention.
In this talk, I'll be covering a pattern that we discovered to help break down your Adapter Monolith into modular, easily digestible and (most importantly) testable pieces.
This talk is based in Kotlin and takes advantage of language features such as Data Classes, Companion Objects, Operator Overloading and Extension Functions. However the pattern concepts themselves are applicable to any technology choice or programming model.
