Tag

Inversion of Control

1 views collected around this technical thread.

ByteFE
ByteFE
Aug 2, 2023 · Fundamentals

Understanding Dependency Injection and Inversion of Control with TypeScript

This article explains the concepts of Inversion of Control and Dependency Injection, demonstrates how to implement a lightweight DI container in TypeScript using decorators and reflection, and covers advanced features such as provider registration, abstraction, lazy loading, and handling circular dependencies.

Design PatternsInversion of ControlIoC Container
0 likes · 35 min read
Understanding Dependency Injection and Inversion of Control with TypeScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 5, 2023 · Fundamentals

Inversion of Control and SOLID Principles in the JavaScript Ecosystem with InversifyJS and Theia

This article revisits Inversion of Control and SOLID design principles within the JavaScript ecosystem, explains their practical application using InversifyJS, demonstrates a full‑stack example in the Theia IDE framework, and discusses the benefits, challenges, and best‑practice considerations of adopting IOC in modern web projects.

InversifyJSInversion of ControlTheia
0 likes · 23 min read
Inversion of Control and SOLID Principles in the JavaScript Ecosystem with InversifyJS and Theia
ByteFE
ByteFE
Mar 8, 2023 · Fundamentals

Inversion of Control and Dependency Injection in JavaScript: InversifyJS and Theia Case Study

This article revisits the concepts of Inversion of Control and SOLID design principles within the JavaScript ecosystem, explains how InversifyJS implements IoC with TypeScript decorators, demonstrates practical steps to configure containers and bindings, and shows how Theia leverages these techniques for modular front‑end and back‑end architecture, while also discussing the benefits and limitations of IoC in modern web development.

InversifyJSInversion of ControlTheia
0 likes · 26 min read
Inversion of Control and Dependency Injection in JavaScript: InversifyJS and Theia Case Study
Top Architect
Top Architect
Dec 5, 2022 · Fundamentals

Essential Software Architecture Principles Explained by a Senior Architect

The article presents a concise overview of core software architecture principles—including Dependency Inversion, Separation of Concerns, Inversion of Control, Dependency Injection, Single Responsibility, DRY, Open‑Closed, and many others—supplemented with Java code examples and references for deeper study.

Inversion of Controlclean-codedependency inversion
0 likes · 12 min read
Essential Software Architecture Principles Explained by a Senior Architect
Laravel Tech Community
Laravel Tech Community
Aug 1, 2022 · Fundamentals

Understanding Inversion of Control (IoC) with PHP Code Examples

This article explains the Inversion of Control (IoC) principle, contrasts a tightly coupled logging implementation with a dependency‑injected version in PHP, and demonstrates how passing a logger via the constructor decouples classes and follows the open‑closed principle.

Design PatternsInversion of ControlIoC
0 likes · 3 min read
Understanding Inversion of Control (IoC) with PHP Code Examples
IT Xianyu
IT Xianyu
Apr 1, 2022 · Backend Development

Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection

This article compares traditional object creation with Spring’s dependency injection, demonstrating how injecting DAO beans via XML configuration decouples service and data layers, includes Java code examples, test results, and visual analogies of gear systems to illustrate reduced coupling.

Inversion of ControlIoCJava
0 likes · 5 min read
Why Use Spring? Understanding How It Solves Coupling Problems with Dependency Injection
Laravel Tech Community
Laravel Tech Community
Jul 6, 2021 · Backend Development

Understanding Dependency Injection in PHP with Example Implementations

This article explains the concept of dependency injection in PHP, demonstrates simple and multi‑class injection examples, and shows how to build both a dynamic IoC container and a static container with autowiring support for flexible backend development.

Design PatternsInversion of ControlIoC Container
0 likes · 10 min read
Understanding Dependency Injection in PHP with Example Implementations
Top Architect
Top Architect
Jun 20, 2021 · Backend Development

Understanding Spring IoC (Inversion of Control) and Dependency Injection (DI)

This article explains the concepts of Inversion of Control (IoC) and Dependency Injection (DI) in the Spring framework, describing how containers manage object creation, reduce coupling, improve testability, and embody the Hollywood principle for more flexible Java backend development.

DIInversion of ControlIoC
0 likes · 9 min read
Understanding Spring IoC (Inversion of Control) and Dependency Injection (DI)
Selected Java Interview Questions
Selected Java Interview Questions
Feb 26, 2021 · Backend Development

Understanding IoC: Inversion of Control, Dependency Injection, and Their Benefits

The article explains the core concept of Inversion of Control (IoC), how a third‑party container manages resources to reduce coupling, illustrates the idea with everyday examples, and clarifies the related terms dependency injection and control inversion, especially in the context of Spring.

Inversion of ControlIoCSpring
0 likes · 10 min read
Understanding IoC: Inversion of Control, Dependency Injection, and Their Benefits
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 25, 2020 · Fundamentals

Implementing IoC and DI in TypeScript: A Practical Guide

This guide shows how to build a lightweight Inversion of Control container in TypeScript and use Reflect‑Metadata decorators to register providers and inject dependencies, demonstrating how constructor‑based injection decouples classes, simplifies testing, and mirrors patterns used in frameworks such as NestJS, Midway, and Angular.

Design PatternsInversion of ControlIoC
0 likes · 16 min read
Implementing IoC and DI in TypeScript: A Practical Guide
Selected Java Interview Questions
Selected Java Interview Questions
Mar 23, 2020 · Fundamentals

Design Pattern Principles: The Seven SOLID Rules, Dependency Inversion, and Inversion of Control

This article explains the seven SOLID design principles, illustrates dependency inversion with a car analogy, introduces inversion of control and IoC containers, and shows how these concepts improve code maintainability and modularity in software development.

Design PatternsInversion of ControlIoC Container
0 likes · 10 min read
Design Pattern Principles: The Seven SOLID Rules, Dependency Inversion, and Inversion of Control
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jul 27, 2018 · Backend Development

Understanding Inversion of Control (IoC) and Its Application in MVC Frameworks

This article explains the concept of Inversion of Control (IoC), illustrates its implementation through a simple MVC library example, compares library versus framework approaches, and discusses how IoC enables flow control reversal, extensibility, and customization within backend application development.

Inversion of ControlIoCMVC
0 likes · 10 min read
Understanding Inversion of Control (IoC) and Its Application in MVC Frameworks