Inversion of Control - Background

Background

Inversion of control is not a new term in computer science. Martin Fowler traces the etymology of the phrase back to 1988. Dependency Injection is a specific type of IoC using contextualized lookup The use of a service locator is considered using the same design pattern. In an article by Loek Bergman it is presented as an architectural principle.

In an article by Robert C. Martin the dependency inversion principle and abstraction by layering come together. His reason to use the term "inversion" is in comparison with traditional software development methods. He describes the uncoupling of services by the abstraction of layers, when he is talking about dependency inversion. The principle is used to find out where system borders are in the design of the abstraction layers.

Inversion of control is highly associated with dependency injection and the dependency inversion principle. Dependency injection is the main method to implement inversion of control.

Read more about this topic:  Inversion Of Control

Famous quotes containing the word background:

    In the true sense one’s native land, with its background of tradition, early impressions, reminiscences and other things dear to one, is not enough to make sensitive human beings feel at home.
    Emma Goldman (1869–1940)

    ... every experience in life enriches one’s background and should teach valuable lessons.
    Mary Barnett Gilson (1877–?)

    I had many problems in my conduct of the office being contrasted with President Kennedy’s conduct in the office, with my manner of dealing with things and his manner, with my accent and his accent, with my background and his background. He was a great public hero, and anything I did that someone didn’t approve of, they would always feel that President Kennedy wouldn’t have done that.
    Lyndon Baines Johnson (1908–1973)