Open in app

Sign In

Write

Sign In

Emanuel Moecklin
Emanuel Moecklin

156 Followers

Home

About

Sep 14, 2022

Trie Kotlin

Implementing an optimized Trie in Kotlin or a short story on why I love Kotlin. Before reading on, make sure you understand how Tries work (not explained here). E.g.: Wikipedia, Article 1, Article 2 ... TL;DR go straight to the code: https://github.com/1gravity/kotlin-trie. Node A typical node looks like this (Wikipedia): structure…

Trie

4 min read

Trie Kotlin
Trie Kotlin
Trie

4 min read


Published in Nerd For Tech

·Jun 15, 2022

KMM UI Architecture - Part 2

Introduction This is part 2 of a series of two articles: Part 1: a summary of common ui patterns and what we learn from them Part 2: creating a simple, adaptable, predictable and composable UI framework for Kotlin Multiplatform The patterns/frameworks discussed in part 1 serve as inspiration to define a…

Kotlin

8 min read

KMM UI Architecture - Part 2
KMM UI Architecture - Part 2
Kotlin

8 min read


Published in Nerd For Tech

·Jun 15, 2022

KMM UI Architecture - Part 1

Overview This is part 1 of a series of two articles: Part 1: a summary of common ui patterns and what we learn from them Part 2: creating a simple, adaptable, predictable and composable UI framework for Kotlin Multiplatform Problem Statement The promise of KMM (Kotlin Multiplatform Mobile) is literally: Write the business…

Ui Framework

11 min read

KMM UI Architecture - Part 1
KMM UI Architecture - Part 1
Ui Framework

11 min read


Published in Nerd For Tech

·Jun 15, 2022

Why Android ViewModels are obsolete in KMM

The Problem One of the challenges on Android is that UI state needs to be saved and restored when configuration changes like screen rotations happen. Android ViewModels were introduced to make this process as painless as possible. The ViewModel class is designed to store and manage UI-related data in a lifecycle conscious…

Kotlin Multiplatform

4 min read

Why Android ViewModels are obsolete in KMM
Why Android ViewModels are obsolete in KMM
Kotlin Multiplatform

4 min read


Published in Nerd For Tech

·Feb 4, 2022

CI/CD for Android using GitHub Actions and Gradle Play Publisher

Last year I published an article about CI/CD using BitBucket Pipelines and Gradle Play Publisher. This article explains how to do the same using GitHub Actions with two main differences (apart from the fact it’s using GitHub instead of BitBucket): I’ll use gradle files written in Kotlin (not Groovy) I’ll…

Ci Cd Pipeline

9 min read

CI/CD for Android using GitHub Actions and Gradle Play Publisher
CI/CD for Android using GitHub Actions and Gradle Play Publisher
Ci Cd Pipeline

9 min read


Published in Nerd For Tech

·Oct 12, 2021

The better Maven Central

Maven Central is the most used repository for Java artifacts. Almost every Gradle file starts with: buildscript { repositories { mavenCentral() // maybe other repos here Yet publishing with Sontatype, OSSHR and Nexus (this article explains the terms really well) is a very slow and painful process:

Jitpack

2 min read

The better Maven Central
The better Maven Central
Jitpack

2 min read


Published in Nerd For Tech

·Oct 8, 2021

Oh No - Another Publishing Android Artifacts to Maven Central Guide?

Yes this is another guide on how to publish Android artifacts to Maven Central. Unlike other guides, it does cover extra “things” though: Gradle build files using Kotlin DSL. Publish AAR file artifacts. The publication includes a Source Jar file (hello withSourcesJar). The publication includes a Javadoc Jar file (hello…

Android

6 min read

Oh No - Another Publishing Android Artifacts to Maven Central Guide?
Oh No - Another Publishing Android Artifacts to Maven Central Guide?
Android

6 min read


Published in Nerd For Tech

·May 7, 2021

An opinionated Kotlin backend service - Database / Migration / ORM

This is the fourth part of my series on Kotlin based backend services. If you missed the first three parts: An opinionated Kotlin backend service - Framework An opinionated Kotlin backend service - Build & Deployment An opinionated Kotlin backend service - API Routing and Documentation ORM

Postgres

7 min read

An opinionated Kotlin backend service - Database / Migration / ORM
An opinionated Kotlin backend service - Database / Migration / ORM
Postgres

7 min read


May 4, 2021

Kotlin, a beautiful back-end mess
264
8

Roberto Marchetto

In every language a "dedicated" engineer can write code that is hard to read and harder to…

In every language a "dedicated" engineer can write code that is hard to read and harder to maintain, Kotlin is no exception. …

3 min read

3 min read


Published in Nerd For Tech

·Apr 30, 2021

An opinionated Kotlin backend service - API Routing & Documentation

This is the third part of my series on Kotlin based backend services. If you missed the first two parts: An opinionated Kotlin backend service — Framework An opinionated Kotlin backend service — Build & Deployment API Routing and documentation Ktor Routing Defining routes in Ktor is simple and very concise due to the DSL. To…

Ktor

5 min read

An opinionated Kotlin backend service - API Routing & Documentation
An opinionated Kotlin backend service - API Routing & Documentation
Ktor

5 min read

Emanuel Moecklin

Emanuel Moecklin

156 Followers
Following
  • Tin Money

    Tin Money

  • Semyon Dukach

    Semyon Dukach

  • Manuel Vivo

    Manuel Vivo

  • Kevin Galligan

    Kevin Galligan

  • Christophe Beyls

    Christophe Beyls

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech