GithubHelp home page GithubHelp logo

bhanditz / cleanarchitecture-kotlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gomjota/cleanarchitecture-kotlin

0.0 1.0 0.0 448 KB

This repository shows an implementation of clean architecture with Kotlin

Kotlin 100.00%

cleanarchitecture-kotlin's Introduction

CleanArchitecture-Kotlin

This repository shows how to implement Clean Architecture using Kotlin.

Clean approach

This app is modeled using the Uncle Bob's Clean Architecture approach. To reach the main goals of Clean, we have the following patterns:

  • MVP: Separates the presentation layer from the logic, so that everything about how the interface works is separated from how we represent it on screen.
  • Interactor:  Contains the business logic code. These are run in the background or main thread and communicate events to the upper layer using callbacks.
  • Repository: Picks different data sources depending on certain conditions.The idea behind all this is that the data origin is transparent for the client, which does not care if the data is coming from memory, disk or the cloud, the only truth is that the data will arrive and will be got.
  • Navigator: Allows to navigate through different UI elements.

CleanArchitecture-Kotlin image

Every dependency is provided by the dependency injection framework which maximizes the power of Inversion of Control principle. By this way, the dependencies point from the outer layers to the inner ones.

Configuration

You can compile and run and it should works fine. If you want to login, sign in or recover password, you should to change the API_URL in build.gradle, where the configuration parameters are located and adapt the response.

cleanarchitecture-kotlin's People

Contributors

beeva-juangomez avatar gomjota avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.