kotlin_simple_architecture_ios 0.0.4

kotlin_simple_architecture_ios 0.0.4

Maintained by Jeonghyeon Kim.



  • By
  • Jeonghyeon Kim

Simple Android Architecture

this library is focusing on how to develop simple.

Usage

Todo : apply plugin, add classpath of othe plugins

todo : is there way to remove pluginManagement below? settings.gradle.kts

pluginManagement {
    resolutionStrategy {
        eachPlugin {
            val plugin = requested.id.id
            when (plugin) {
                "kotlinx-serialization" -> useModule("org.jetbrains.kotlin:kotlin-serialization:${requested.version}")
            }
        }
    }
}

enableFeaturePreview("GRADLE_METADATA")

Goals

  1. Simplest
  2. Intuitive & Least learning curve
  3. No extra knowledge required
  4. Support all platform
  5. Just add your business logic without technical code

Merits by the Goals

  1. Simple to read : even non-developer can understand
  2. Simple to write : no boilerplate code, 1 line of code means 1 business logic. able to focus on business logic only
  3. Simple learning curve : easy to remember usage. even it's easy, if you forget?, you can find where to see. and also it provides the sample as well.
  4. Simple to use latest architecture : you don't need to spend a lot of time for what is latest architecture, how to make good code. just follow sample, then you'll write code at least not bad.
  5. Simple to test : it provides base test classes and sample. just follow sample, then you can test.

Prerequisite

Todo : add prerequisite for ios, js, backend

Client

  • MVVM
  • Kotlin, Coroutine

Android

  • Koin
  • Jetpack : Navigation, Data Binding, LiveData, Paging, Room, ViewModel
  • Resource
  • AndroidX testing

Articles

Todo : Multiplatform architecture for android, ios, frontend, backend

Android Articles

Samples

Planning

Currently this is focusing on only android development. but with Kotlin multiplatform, will support spring, ktor, ios, frontend.

License

Copyright 2020 Jeonghyun Kim

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.