zoukankan      html  css  js  c++  java
  • What is DI Container

    A DI CONTAINER is a software library that can automate many of the tasks involved in
    composing objects and managing their lifetimes. Although it’s possible to write all the
    required infrastructure code with POOR MAN’S DI, it doesn’t add much value to an
    application. On the other hand, the task of composing objects is of a general nature
    and can be resolved once and for all; this is what’s known as a Generic Subdomain.1

    A DI CONTAINER is a library that provides DI functionality.

    DI CONTAINERS are also known as Inversion of Control (IoC) Containers or
    (more rarely) Lightweight Containers.

    Don’t expect a DI CONTAINER to magically make tightly coupled
    code loosely coupled. A DI CONTAINER can make the use of DI more efficient,
    but an application must first and foremost be designed with the DI patterns
    and techniques in mind.

    技术改变世界
  • 相关阅读:
    hust 1605 bfs
    hdu 1512
    2013 ACMICPC 杭州现场赛 I题
    2013年 ACMICPC 杭州赛区H题
    hdu 3717 二分+队列维护
    hdu 2993 斜率dp
    hdu 3480 斜率dp
    hdu 3507 斜率dp
    hdu 2829 斜率DP
    零碎笔记
  • 原文地址:https://www.cnblogs.com/davidgu/p/2426354.html
Copyright © 2011-2022 走看看