BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Dependency Injection Content on InfoQ

  • NPM Ecosystem Suffers Two AI-Enabled Credential Stealing Supply Chain Attacks

    The Node Package Manager (npm) ecosystem has suffered from two major supply chain attacks in recent months, affecting hundreds of packages and exposing developers to credential theft and data exfiltration. The attack vector of these incidents shows an AI-enabled evolution of how open-source software dependencies can be compromised.

  • .NET Tools And Practices Research Insights

    The community research we published on .NET tools and practices had more than 650 votes leading to some interesting results. We attempt to draw insights.

  • ASP.NET Web API And Dependency Injection

    ASP.NET Web API comes with a Dependency Resolver interface that lets you inject dependencies into your controller. However Mark Seemann suggests it is better to use the IHttpControllerActivator interface for this purpose, with a couple of examples.

  • Dagger: A Dependency Injection Framework For Android

    Dagger is a new dependency injection framework for the Android environment. It offers a subset of features of Google Guice (some of the developers work on both projects) but focuses on a lightweight solution in order to offer better performance. Dagger also attempts to report binding errors during compile time instead of run time.

  • Community-Driven Research: What are the most widely used .NET practices and tools?

    InfoQ's research initiative continues with an 8th question: "What are the most widely used .NET practices and tools?". This is a new service we hope will provide you with up-to-date & bias-free community-based insight into trends & behaviors that affect enterprise software development. Unlike traditional vendor/analyst-based research, our research is based on answers provided by YOU.

  • Evolve: Using Components to Improve on Dependency Injection

    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

    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

    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.

  • Dependency Injection in Java EE 6 Provides Unified EJB and JSF Programming Model

    Dependency Injection is one of the main features of recently released Java EE 6 version. JSR 330 (Dependency Injection for Java) provides a standardized and extensible API for dependency injection. And JSR 299 (Contexts and Dependency Injection for the Java EE Platform 1.0), which builds on JSR 330, unifies and simplifies the EJB and JSF programming models.

  • Google Guice 2.0: Enhanced Capabilities, Less Boilerplate

    Guice, a lightweight Java dependency injection framework created by Google, recently released version 2.0. InfoQ spoke with Google Developer Team member Jesse Wilson to learn more about this release and what capabilities it adds to Guice.

  • Dependency Injection for Java

    Dependency injection has been around for a while and there are quite a few frameworks which provide such capabilities for Java applications. Recently Google and SpringSource announced a partnership related to providing dependency injection for Java.

  • Article: A Fusion of Proven Ideas: A Look Behind S#arp Architecture

    In this article Billy McCafferty presents S#arp Architecture, an ASP.NET MVC architectural framework meant to leverage current best practices in architecting ASP.NET web applications by providing a project code template which uses Domain-Driven Design techniques and has built-in support for NHibernate, Castle Windsor and SQLite.

  • Article: JavaScript Test Driven Development with JsUnit and JSMock

    This article by Dennis Byrne is a crash course in writing maintainable JavaScript. Dennis uses stubs, mock objects and a little bit of dependency injection. He also uses JsUnit to run unit tests and a JavaScript mock object library called JsMock.

  • Managed Extensibility Framework Preview 4

    Microsoft's Managed Extensibility Framework is an open source (MS-PL) .NET application composition framework available on CodePlex. MEF provides aspects of a plug-in model and an inversion of control container. Code Preview 4 includes performance and diagnostic improvements.

  • Interview: Erich Gamma Discusses Jazz, Eclipse, JUnit and Design Patterns

    In this interview from QCon London 2008, Erich Gamma discusses the Jazz project, why Eclipse has been successful, the strict Eclipse release schedule, JUnit, Design Patterns, how to identify a design pattern, design patterns and the 'Don't Repeat Yourself' principle, the design pattern community, and whether dependency injection is a design pattern.

BT