Files
spring-net/doc/reference/src/background.xml

51 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<chapter xml:id="background" xmlns="http://docbook.org/ns/docbook" version="5">
<title>Background information</title>
<sect1 xml:id="background-ioc">
<title>Inversion of Control</title>
<para>In early 2004, Martin Fowler asked the readers of his site: when
talking about Inversion of Control: <emphasis>"the question, is what
aspect of control are they inverting?"</emphasis>. After talking about the
term Inversion of Control Martin suggests renaming the pattern, or at
least giving it a more self-explanatory name, and starts to use the term
<emphasis>Dependency Injection</emphasis>. His <ulink
url="http://martinfowler.com/articles/injection.html">article</ulink>
continues to explain some of the ideas behind this important software
engineering principle.</para>
<para>Other references you may find useful are</para>
<itemizedlist>
<listitem>
<para>Wikipedia Article - <ulink
url="http://en.wikipedia.org/wiki/Dependency_injection">Dependency
Injection</ulink></para>
</listitem>
<listitem>
<para>CodeProject article - <ulink
url="http://www.codeproject.com/cs/design/DependencyInjection.asp">Dependency
Injection for Loose Coupling</ulink></para>
</listitem>
</itemizedlist>
</sect1>
</chapter>