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,740 public repositories matching this topic...
Simple example of an IoC Container for DI example with Java language.
-
Updated
May 28, 2023 - Java
PHP Constructor Dependency Injection Container
-
Updated
Mar 20, 2023 - PHP
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
Fully-typed dependency injection modules
-
Updated
Apr 28, 2023 - TypeScript
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
Dependency Injection Container Compiler for TypeScript
-
Updated
Aug 22, 2023
.NET Core 7 MVC Web App demonstrating Dependency Injection
-
Updated
Mar 8, 2023 - HTML
The Kotlin implementation of Slik: A lightweight dependency injection framework
-
Updated
Jan 17, 2018 - Kotlin
A light-weight Java dependency injection library written in Kotlin
-
Updated
Jul 8, 2023 - Kotlin
Showcase for "Dump Dependency Injection" for iOS apps.
-
Updated
Nov 30, 2022 - Swift
Dependency Injection in Blazor Server
-
Updated
Apr 4, 2023 - CSS
Simple implementation of DI container. Just for learn.
-
Updated
Jul 13, 2023 - C#
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
IoC java implementation with Dependency Injection, Web and AOP modules
-
Updated
Jul 27, 2023 - Java
Created by Martin Fowler
Released January 23, 2004
- Followers
- 50 followers
- Website
- martinfowler.com/articles/injection.html
- Wikipedia
- Wikipedia