Dependency injection
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
Here are 5,680 public repositories matching this topic...
Fully-typed dependency injection modules
-
Updated
Apr 28, 2023 - TypeScript
Simple example of an IoC Container for DI example with Java language.
-
Updated
May 28, 2023 - Java
A simple Java app demonstrating the various ways to perform depedency injection via a setter and via a constructor using Spring Framework [annotations and xml file methods].
-
Updated
Apr 5, 2023 - Java
PHP Constructor Dependency Injection Container
-
Updated
Mar 20, 2023 - PHP
Dependency Injection Container Compiler for TypeScript
-
Updated
Aug 22, 2023
The Kotlin implementation of Slik: A lightweight dependency injection framework
-
Updated
Jan 17, 2018 - Kotlin
.NET Core 7 MVC Web App demonstrating Dependency Injection
-
Updated
Mar 8, 2023 - HTML
Showcase for "Dump Dependency Injection" for iOS apps.
-
Updated
Nov 30, 2022 - Swift
Learn Dagger 2 step-by-step! Master dependency injection in Android development. From manual injection to advanced topics like custom scopes and subcomponents, our comprehensive tutorials cover it all. Level up your skills and build efficient, well-organized apps.
-
Updated
Aug 3, 2023 - Kotlin
A light-weight Java dependency injection library written in Kotlin
-
Updated
Jul 8, 2023 - Kotlin
Dependency Injection in Blazor Server
-
Updated
Apr 4, 2023 - CSS
Simple implementation of DI container. Just for learn.
-
Updated
Jul 13, 2023 - C#
Dependency injection using JavasScript decorators
-
Updated
Nov 19, 2023 - JavaScript
Ultralight Dependency Injection / Service Locator framework for Swift
-
Updated
Nov 14, 2017
This project help to undestand some concept like tight coupling, control inversion, dependency injection in spring boot
-
Updated
Dec 28, 2022 - Java
Created by Martin Fowler
Released January 23, 2004
- Followers
- 48 followers
- Website
- martinfowler.com/articles/injection.html
- Wikipedia
- Wikipedia