Dependency Injection in Rust using Waiter DI

Dependency injection is a technique which is largely used to avoid tight coupling inside the applications, by abstracting objects/modules and inverting the dependency flow. Of course this is a simplified explanation of it but, if you are here, I believe that we are familiarized with the technique and you might have googled “dependency injection in rust”, or something like that, in order to know specifically how to use it in Rust. Dependency Injection in Rust using Waiter DI

Dependency Injection (DI)  - Angular

A component’s job is to render data. Thus, making sure that it has data, and renders the data the right way, and sometimes makes sure that it dispatches the right data to its children. What is it, and how it works? + concrete examples. Dependency Injection (DI)  - Angular

Testable Flutter and Cloud Firestore

Using dependency injection to test apps using Flutter and Firebase. The FlutterFire tech stack, consisting of Flutter and Firebase (and specifically Cloud Firestore), unlock unprecedented development velocity as ...

Dependency Injection and Reflection for Frameworks in NET Core

This article is based on learnings from the StarCraft II AI Framework, Abathur. It introduces a method for hiding dependency injection from the user of your framework and so might not be desirable in your case.

Introduction to Ts.ED

In this article, we will briefly introduce Ts.ED by building a simple API web server.

Strategy Design Pattern in Rust

One of the means to achieve decoupling software modules is following Dependency Inversion Principle (DIP). In this post I want to show how to implement the Strategy Design Pattern in order to achieve Dependency Inversion.

How to Pass an Element Reference Down Through a Component Tree in Angular

I recently had a requirement to make sure a PrimeNG Dropdown panel inside a modal with scrolling content was not constrained within the modal, but rather could be seen and interacted with without having to scroll. Using Directives and Dependency Injection to avoid unnecessary Component Inputs. In this tutorial, you'll see How to Pass an Element Reference Down Through a Component Tree in Angular

Understand forRoot and forChild in Angular

forRoot / forChild is a pattern for singleton services that most of us know from routing. Routing is actually the main use case for it and as it is not commonly used outside of it, I wouldn’t be surprised if most Angular developers haven’t given it a second thought. In this tutorial, you'll learn Angular’s forRoot and forChild

Semantic Version Tags in go.mod File

Understanding the semantic version tags of the dependencies in the go.mod file in GoLang.

Functions as dependencies in Swift

In this article, I’ll guide you from the sparkle that lit my desire for higher order free functions to its implementation regarding DI.

Dependency Injection Put Simply

The concept of Dependency Injection can seem complicated. Here I’m trying to explain it on an example of a food delivery app.

Semantic Version tags in go.mod file

Understanding the semantic version tags of the dependencies in the go.mod file in GoLang.

Make the most of Angular DI: private providers concept

I think that DI in Angular applications is used rather modestly. It is usually an injection of service or providing some global data top-down through the app. In this article, I want to show an alternative way to work with data from DI. The purpose is to simplify components, directives, and services that use it.

5 tips to boost your Angular skills

Here are 5 generalized advises I want to give to Angular developers across the globe. These advises are backed by some concrete examples pulled from our Twitter activity. They can help you improve your developer skills or give you some practical tricks at the very least.

What you always wanted to know about Angular Dependency Injection tree

If you didn’t dive deep into angular dependency injection mechanism, your mental model should be that in angular application we have some root injector with all merged providers, every component has its own injector and lazy loaded module introduces new injector. But maybe there is some more you should be aware of? Also a while ago, so-called Tree-Shakeable Tokens [https://github.com/angular/angular/pull/22005] feature was merged into master branch. If you are like me, you probably want to kno

Angular DI: Getting to Know the Ivy NodeInjector

In this article, we’re going to examine a new Angular NodeInjector which heavily uses a bloom filter to retrieve a token. Let's dive into getting to know the Ivy NodeInjector. We are going to understand is how Angular will be able to get the root AppComponent instance in DirB directive.

Android Architecture: Hilt, MVVM, Kotlin Coroutines, Live Data, Room and Retrofit

When developing an Android app it is important to plan the architecture of the project. This will allow us to create complex, robust, good…

Why We Use Dependency Injection In Android

As a software developer, we have come across a Dependency Injection term many times in our regular life. Regardless of which technology…

Unit Testing in Python — Patching, Mocks and Dependency Injection

Improve your testing skills by learning how to patch dependencies away, how to use different kinds of mocks and what dependency injection

Dependency Injection In Swift

The most common words I hear after working on my team developing the TikTok is DI, aka, Dependency injection. I will talk about the way .“Dependency Injection là gì, tích hợp với ios Swift” is published by Vincent Vu.