<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Dependency injection - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Dependency_injection&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Dependency_injection&amp;p=5">3.Next</a>
</p>
<p>rather than their concrete implementations, making it easier to change which services are used at runtime without recompiling.</p>

<p>Application frameworks often combine dependency injection with <a href="page.php?w=inversion_of_control">inversion of control</a>. Under inversion of control, the framework first constructs an object (such as a controller), and then passes <a href="page.php?w=control_flow">control flow</a> to it. With dependency injection, the framework also instantiates the dependencies declared by the application object (often</p><p>
<a accesskey="1" href="page.php?w=Dependency_injection&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Dependency_injection&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
