InfoQ

Topic/Tag specific view

All content and news on InfoQ about Dependency Injection


Latest featured content about Dependency Injection

Drinking your Guice too quickly?

Community
Architecture
Topics
Programming,
Design

Dependency Injection has been around for a while, and many teams are refactoring their applications to use DI. But it can be a struggle. In this article, Paul Hammant explains the route to take to move an existing application from a nest-of-singletons design to a full fledged DI design.

News about Dependency Injection

Microsoft Embraces Dependency Injection in the Framework

Community
.NET
Topics
Agile Techniques

Microsoft's new Application Framework Core team has started to embrace techniques Naming and Activation Services, Dependency Injection, and Duck Typing in .NET's core frameworks.

Try to get the best of your Statically Typed Language

Community
Architecture
Topics
Programming,
Design

The use of dynamic type-checking in static languages is often perceived as unavoidable on complex projects, even though workarounds necessary to enforce it tend to negatively impact the quality of code. According to Debasish Ghosh, features in static languages, i.e. Java generics, offer an opportunity to avoid runtime type checking and optimize the advantages of static typing.

Microsoft Unity Dependency Injection Application Block Released

Community
.NET,
Architecture
Topics
Enterprise Application Blocks,
Loose Coupling

The Microsoft patterns & practices group has released its Dependency Injection container called Unity or the Unity Application Block. Developers can now create loosely coupled applications that are extensible using this lightweight container.

Presentation: Introduction to Spring.NET

Community
.NET
Topics
Artifacts & Tools,
Programming

Dr. Mark Pollack, founder of Spring.NET, provides an introduction focused on implementing and designing loosely coupled application architectures.

Can DDD be Adequately Implemented Without DI and AOP?

Community
Architecture
Topics

A recent thread on Domain Driven Design (DDD) user group discussed the role of Dependency Injection (DI) and Aspect Oriented Programming (AOP) in DDD implementation. InfoQ spoke with Eric Evans and Ramnivas Laddad about these design concepts and the role of Annotations and orchestrated business services in DDD.

Articles about Dependency Injection

What's New in Spring 2.5: Part 1

Community
Java
Topics
Web Frameworks

The first in a series of articles by Mark Fisher of Interface21 exploring what's new in Spring 2.5: annotation-driven dependency injection, auto-detection of Spring components on the classpath using annotations rather than XML for metadata, annotation support for lifecycle methods.

Spring.NET - QnA

Community
.NET
Topics
Artifacts & Tools,
.NET Framework

InfoQ had a chance to sit down with Aleksandar Seovic and Mark Pollack the co-creaters of Spring.NET. Spring.NET is an application framework that brings AOP, a Dependency Injection container and data access framework to .NET. It is not a complete port of Spring to .NET yet it preserves the tenets of Spring.

Interviews about Dependency Injection

Mark Pollack on Spring and Spring.NET

Community
.NET
Topics
AOP,
Open Source

Mark Pollack, founder of Spring.NET, talks about shares ideas between the Java and .NET communities and the history of Spring.NET. Topics include how to use dependency injection and AOP for more than just logging and where Spring.NET overlaps with WCF.