forked from angular/code.angularjs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev_guide.mvc.html
25 lines (20 loc) · 1.44 KB
/
dev_guide.mvc.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<h1>Developer Guide: About MVC in Angular</h1>
<div class="developer-guide-about-mvc-in-angular"><fieldset class="workInProgress"><legend>Work in Progress</legend>
This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
<p>While Model-View-Controller (MVC) has acquired different shades of meaning over the years since it
first appeared, angular incorporates the basic principles behind the original <a href="http://en.wikipedia.org/wiki/Model–view–controller">MVC</a> software design pattern into its way of
building client-side web applications.</p>
<p>The MVC pattern greatly summarized:</p>
<ul>
<li>Separate applications into distinct presentation, data, and logic components</li>
<li>Encourage loose coupling between these components</li>
</ul>
<p>Along with <a href="#!/guide/dev_guide.services">services</a> and <a href="#!/guide/dev_guide.di">dependency injection</a>, MVC
makes angular applications better structured, easier to maintain and more testable.</p>
<p>The following topics explain how angular incorporates the MVC pattern into the angular way of
developing web applications:</p>
<ul>
<li><a href="#!/guide/dev_guide.mvc.understanding_model">Understanding the Model Component</a></li>
<li><a href="#!/guide/dev_guide.mvc.understanding_controller">Understanding the Controller Component</a></li>
<li><a href="#!/guide/dev_guide.mvc.understanding_view">Understanding the View Component</a></li>
</ul></div>