blob: ac581807ffba7b97afd7c99f803fd1dd41947edd [file] [log] [blame]
Derek Jones8ede1a22011-10-05 13:34:52 -05001##############################
2Design and Architectural Goals
3##############################
4
5Our goal for CodeIgniter is maximum performance, capability, and
6flexibility in the smallest, lightest possible package.
7
8To meet this goal we are committed to benchmarking, re-factoring, and
9simplifying at every step of the development process, rejecting anything
10that doesn't further the stated objective.
11
12From a technical and architectural standpoint, CodeIgniter was created
13with the following objectives:
14
15- **Dynamic Instantiation.** In CodeIgniter, components are loaded and
16 routines executed only when requested, rather than globally. No
17 assumptions are made by the system regarding what may be needed
18 beyond the minimal core resources, so the system is very light-weight
19 by default. The events, as triggered by the HTTP request, and the
20 controllers and views you design will determine what is invoked.
21- **Loose Coupling.** Coupling is the degree to which components of a
22 system rely on each other. The less components depend on each other
23 the more reusable and flexible the system becomes. Our goal was a
24 very loosely coupled system.
25- **Component Singularity.** Singularity is the degree to which
26 components have a narrowly focused purpose. In CodeIgniter, each
27 class and its functions are highly autonomous in order to allow
28 maximum usefulness.
29
30CodeIgniter is a dynamically instantiated, loosely coupled system with
31high component singularity. It strives for simplicity, flexibility, and
32high performance in a small footprint package.