summaryrefslogtreecommitdiffstats
path: root/user_guide/overview/mvc.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/overview/mvc.html')
-rw-r--r--user_guide/overview/mvc.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/user_guide/overview/mvc.html b/user_guide/overview/mvc.html
index 0f5fbe89b..3d577e902 100644
--- a/user_guide/overview/mvc.html
+++ b/user_guide/overview/mvc.html
@@ -12,7 +12,7 @@
<script type="text/javascript" src="../nav/moo.fx.js"></script>
<script type="text/javascript">
window.onload = function() {
- myHeight = new fx.Height('nav', {duration: 400});
+ myHeight = new fx.Height('nav', {duration: 400});
myHeight.hide();
}
</script>
@@ -63,12 +63,12 @@ MVC
<h1>Model-View-Controller</h1>
-<p>Code Igniter is based on the Model-View-Controller development pattern.
+<p>Code Igniter is based on the Model-View-Controller development pattern.
MVC is a software approach that separates application logic from presentation. In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting.</p>
<ul>
-<li>The <strong>Model</strong> represents your data structures. Typically your model classes will contains functions that help you
+<li>The <strong>Model</strong> represents your data structures. Typically your model classes will contains functions that help you
retrieve, insert, and update information in your your database.</li>
<li>The <strong>View</strong> is the information that is being presented to a user. A View will normally be a web page, but
in Code Igniter, a view can also be a page fragment like a header or footer. It can also be an RSS page, or any other type of "page".</li>
@@ -77,9 +77,9 @@ and any other resources needed to process the HTTP request and generate a web pa
</ul>
-<p>Code Igniter has a fairly loose approach to MVC since Models are not required.
+<p>Code Igniter has a fairly loose approach to MVC since Models are not required.
If you don't need the added separation, or find that maintaining models requires more complexity than you
-want, you can ignore them and build your application minimally using Controllers and Views. Code Igniter also
+want, you can ignore them and build your application minimally using Controllers and Views. Code Igniter also
enables you to incorporate your own existing scripts, or even develop core libraries for the system,
enabling you to work in a way that makes the most sense to you.</p>