InfoQ

InfoQ

Topic/Tag specific view

Dependency Injection Content on InfoQ


Latest featured content about Dependency Injection

Succeeding with Dependency Injection

Topics
.NET,
Design Pattern

While the principal pattern is easy to understand it can be difficult to succeed with Dependency Injection without considering the larger context. DI is an application of the principle of Inversion of Control and to succeed with IoC you’ll also need to invert your thinking. This article provides a sketch of the mental model you need to adopt to succeed with DI.

News about Dependency Injection

Evolve: Using Components to Improve on Dependency Injection

Topics
Java,
Modeling,
Tools,
Architecture

Evolve is a lightweight tool for creating, wiring up and executing Java components. Developers can use Evolve to graphically describe JavaBeans and also optionally generate Java code for setters and getters. InfoQ spoke with Andrew McVeigh about the tool.

ASP.NET MVC 3 Go-Live License

Topics
.NET,
Web Frameworks

Microsoft’s ASP.NET team has taken the Agile philosophy of Deploy Early, Deploy Often to heart. Close on the heels of ASP.NET MVC 2, version 3 beta has already been approved for production use. With a whole host of promising new features including the Razor syntax, this will be a hard release to ignore.

Decoupling Your Application From Your Dependency Injection Framework

Topics
Ruby,
SOA,
Object Oriented Design,
Java,
Agile,
.NET,
Design,
Architecture

Dependency Injection has become a much more accepted and accessible approach in recent years, driven by many factors including increased popularity in SOA, TDD, and many other factors. With this has come increased usage of Dependency Injection frameworks. Bob Martin advises, with examples, applying a decoupling approach between your application code and your Dependency Injection framework.

Articles about Dependency Injection

Dependency Injection with Mark Seemann

Topics
.NET Framework,
.NET

Mark Seemann, author of Dependency Injection in .NET, talks to us about the differences between DI and Service Locators and the importance of having a Composite Root. He also touches on how these all relate back to the SOLID principals of object oriented design.

A Comparison of Spring MVC and JAX-RS

Topics
Java,
Web Services,
Web Frameworks

SpringSource's Rossen Stoyanchev introduces the Spring MVC REST features available in Spring 3 and relates them to JAX-RS, highlighting the similarities and differences between the two programming models.

Presentations about Dependency Injection

SOLID Software and Design Patterns for Mere Mortals

Topics
Design Pattern

Phil Japikse explains SOLID software principles - Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion- and how to apply them using design patterns.

Interviews about Dependency Injection

Mark Pollack on Spring.NET 1.3 and 2.0

Topics
AOP,
.NET,
Web Frameworks

Mark Pollack talks about the features coming in Spring.NET 1.3 and 2.0. He also covers Spring.NET Integration, the Stonehenge project and the relationship with Spring Java.

Greg Young Discusses State Transitions in Domain-Driven Design and DDD Best Practices

Topics
Design Pattern,
Architecture,
Design

In this interview, Greg Young talks about managing state transitions in a Domain-Driven Design project using two separate models, one for reading data from datastore and the other for write-only command operations. He also discussed Command Query Separation to keep the design cleaner and easier to test and maintain and the best practices that developers can use when working on DDD projects.