#dependency-injection

[ follow ]
#aspnet-core
#best-practices
Angular
fromHackernoon
2 months ago

Refactoring 024 - Replace Global Variables with Dependency Injection | HackerNoon

Replacing global variables with dependency injection improves testability and reduces coupling.
Angular
fromHackernoon
2 months ago

Refactoring 024 - Replace Global Variables with Dependency Injection | HackerNoon

Replacing global variables with dependency injection improves testability and reduces coupling.
DevOps
fromHackernoon
3 months ago

Code Smell 293 - You Should Avoid Adding isTesting or Similar Flags | HackerNoon

Avoid adding flags like isTesting in code to maintain clean separation between testing and production.
Use dependency injection to prevent mixing testing and production logic.
#micro-frontends
Mobile UX
fromMedium
2 months ago

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

Micro frontends are implemented through a subscriber component that manages their registration and shared context.
Mobile UX
fromMedium
3 months ago

Micro Frontends: Achieving Full Team Autonomy with Build-Time Integration

The subscriber component manages MFEs integration, providing a shared context and API for registration.
JavaScript
fromHackernoon
10 months ago

How to work with Koin Scopes in Jetpack Compose Navigation | HackerNoon

Combining Jetpack Compose Navigation with Koin scopes enhances dependency management in modern Android applications.
fromMedium
5 months ago

Dependency Injection with Implicits in Scala

Implicit-based Dependency Injection in Scala provides a lightweight, type-safe alternative to traditional DI frameworks, simplifying dependency management without sacrificing compile-time verification.
Scala
fromHackernoon
7 months ago

How to Stop Making Singletons in Swift: A Dependency Injection Guide | HackerNoon

"To overcome most issues we can use Dependency Injection (DI). Swapping in a new implementation becomes much easier as components don't rely on a single shared instance but on protocols that can be implemented in different ways. This promotes flexibility, easier testing, and adaptability as app requirements evolve."
JavaScript
fromMedium
7 months ago

Java 23, SpringBoot 3.3.4: API Flow & Logging-Part 4

Using AOP in Spring allows for cleaner code by separating cross-cutting concerns such as logging from the business logic, improving maintainability and readability.
JavaScript
fromCodeProject
8 months ago

How to Handle Cyclic Dependency Between Beans in Spring?

A cyclic dependency occurs when two or more beans in Spring depend on each other, creating a cycle that can lead to initialization errors.
JavaScript
[ Load more ]