From 25f6fca75a49facb8c47a0c9abdab7862fc85c47 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 23 Sep 2006 01:23:14 +0000 Subject: --- user_guide/overview/at_a_glance.html | 13 ++++++++----- user_guide/overview/mvc.html | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'user_guide/overview') diff --git a/user_guide/overview/at_a_glance.html b/user_guide/overview/at_a_glance.html index ca911cbe0..14e2f0524 100644 --- a/user_guide/overview/at_a_glance.html +++ b/user_guide/overview/at_a_glance.html @@ -90,6 +90,10 @@ Additional libraries are loaded dynamically upon request, based on your needs fo is very lean and quite fast.

+

Code Igniter is Fast

+

Really fast. We challenge you to find a framework that has better performance the Code Igniter.

+ +

Code Igniter Uses M-V-C

Code Igniter uses the Model-View-Controller approach, which allows great separation between logic and presentation. This is particularly good for projects in which designers are working with your template files, as the code these file contain will be minimized. We describe MVC in more detail on its own page.

@@ -104,13 +108,15 @@ approach to URLs that is synonymous with dynamic systems, Code Igniter uses a se

Code Igniter Packs a Punch

Code Igniter comes with a very nice set of libraries that enable the most commonly needed web development tasks, -like connecting to a database, sending email, validating form data, maintaining sessions, manipulating images, and more.

+like accessing a database, sending email, validating form data, maintaining sessions, manipulating images, working with XML-RPC data and more.

Code Igniter is Extensible

The system can be easily extended through the use of plugins and helper files, or even through class extensions or standard includes.

Code Igniter Does Not Require a Template Engine

-

Template engines simply can not match the performance of native PHP, and the syntax that must be learned to use a template +

Although Code Igniter does come with a simple template parser that can be optionally used, it does not force you to use one. + +Template engines simply can not match the performance of native PHP, and the syntax that must be learned to use a template engine is usually only marginally easier than learning the basics of PHP. Consider this block of PHP code:

<ul>
@@ -138,9 +144,6 @@ engine is usually only marginally easier than learning the basics of PHP. Consi

Yes, the template engine example is a bit cleaner, but it comes at the price of performance, as the pseudo-code must be converted back into PHP to run. Since one of our goals is maximum performance, we opted to not require the use of a template engine.

-

That said, Code Igniter does come with a simple template engine class which you can optionally use. Or, if you -prefer using a full-blown template engine such as Smarty, there's no reason why you can't use it with Code Igniter. -Just include your template engine script when you write your controllers, and continue working as you normally do.

Code Igniter is Thoroughly Documented

Programmers love to code and hate to write documentation. We're no different, of course, but diff --git a/user_guide/overview/mvc.html b/user_guide/overview/mvc.html index 869451a79..d84d87992 100644 --- a/user_guide/overview/mvc.html +++ b/user_guide/overview/mvc.html @@ -71,7 +71,7 @@ MVC is a software approach that separates application logic from presentation.

  • The Model represents your data structures. Typically your model classes will contains functions that help you retrieve, insert, and update information in your your database.
  • The View 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.
  • +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".
  • The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.
  • -- cgit v1.2.3-24-g4f1b