All Projects → rewe-digital → Katana

rewe-digital / Katana

Licence: mit
Lightweight, minimalistic dependency injection library for Kotlin & Android

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Katana

kotlin-guiced
Convenience Kotlin API over the Google Guice DI Library
Stars: ✭ 17 (-90.61%)
Mutual labels:  jvm, dependency-injection
Declex
DecleX - Declarative Framework for Android, easier and faster coding.
Stars: ✭ 174 (-3.87%)
Mutual labels:  dependency-injection
Flama
🔥 Fire up your API with this flamethrower
Stars: ✭ 161 (-11.05%)
Mutual labels:  dependency-injection
Bouncy Gpg
Make using Bouncy Castle with OpenPGP fun again!
Stars: ✭ 164 (-9.39%)
Mutual labels:  jvm
Kapsule
Minimalist dependency injection library for Kotlin.
Stars: ✭ 162 (-10.5%)
Mutual labels:  dependency-injection
Node Jvm
java virtual machine in pure node.js
Stars: ✭ 2,053 (+1034.25%)
Mutual labels:  jvm
Android Clean Architecture
Showcasing a Clean Architecture approach from our Android applications framework!
Stars: ✭ 160 (-11.6%)
Mutual labels:  dependency-injection
Boot Actuator
基于SpringBoot2.0 实现的jvm远程监工图形化工具,可以同时监控多个web应用,支持远程监控
Stars: ✭ 180 (-0.55%)
Mutual labels:  jvm
Yvm
[yvm] low performance garbage-collectable jvm
Stars: ✭ 173 (-4.42%)
Mutual labels:  jvm
Swinjectautoregistration
Swinject extension to automatically register your services
Stars: ✭ 164 (-9.39%)
Mutual labels:  dependency-injection
Play Java Starter Example
Play starter project in Java (ideal for new users!)
Stars: ✭ 164 (-9.39%)
Mutual labels:  jvm
Mandarinets
Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Stars: ✭ 161 (-11.05%)
Mutual labels:  dependency-injection
Ioc
🦄 lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript
Stars: ✭ 171 (-5.52%)
Mutual labels:  dependency-injection
Clj Docker Client
An idiomatic, data-driven, REPL friendly Clojure Docker client
Stars: ✭ 162 (-10.5%)
Mutual labels:  jvm
Ray.di
Guice style dependency injection framework for PHP
Stars: ✭ 175 (-3.31%)
Mutual labels:  dependency-injection
Upcomingmovies
Movies app written in Swift 5 using the TMDb API and demonstrating Clean Architecture, Dependency Injection, MVVM and Coordinators.
Stars: ✭ 160 (-11.6%)
Mutual labels:  dependency-injection
Qframework
Unity3D System Design Architecture
Stars: ✭ 2,326 (+1185.08%)
Mutual labels:  dependency-injection
Tsyringe
Lightweight dependency injection container for JavaScript/TypeScript
Stars: ✭ 2,761 (+1425.41%)
Mutual labels:  dependency-injection
Lets Plot Kotlin
Kotlin API for Lets-Plot - an open-source plotting library for statistical data.
Stars: ✭ 181 (+0%)
Mutual labels:  jvm
Awesome Micronaut
A curated list of resources for the Micronaut JVM framework
Stars: ✭ 176 (-2.76%)
Mutual labels:  jvm

Build Status Kotlin Android Arsenal

‼️ This project is in maintenance mode and not actively developed anymore. For more information read this statement. ‼️

Katana

Katana is a lightweight, minimalistic dependency injection library (similar to the service locator pattern) for Kotlin on the JVM, designed especially with Android in mind.

  • Extremely lightweight footprint (only ~15kB in classes and ~130 methods after ProGuard), plain Kotlin, no third-party dependencies
  • It's fast (also see this comparison)
  • "Less is more", therefore:
    • No global singleton state. Likelihood of memory leaks is greatly reduced unless YOU are doing something wrong ;P
    • No reflection (see this regarding type erasure)
    • No code generation (unless inline functions count)
    • No dependency overrides possible (see Overrides)

Getting Started

Want to know more? Please read Getting Started.

Artifacts

Katana consists of a core library and several additional libraries that extend Katana's functionality. All artifact are published in group org.rewedigital.katana. Here's a quick overview of all available artifacts:

Artifact Description
katana-core Provides core functionality. Suitable for plain Kotlin (JVM) and Android.
katana-android Android-specific extensions like modules for Activity and Fragment, KatanaFragment etc.
katana-androidx-fragment Additional support for androidx.fragment providing a Katana-based FragmentFactory.
katana-androidx-viewmodel Enables dependency injection for AndroidX ViewModel.
katana-androidx-viewmodel-savedstate Support for AndroidX ViewModel with SavedState.

Help & Contribution

If you found a bug or want to suggest a feature, please create an issue.
If you need help, visit our Slack channel.

Further Reading

License

The MIT license (MIT)

Copyright (c) 2018-2021 REWE Digital GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].