Skip to content

Commit

Permalink
Merge pull request #8557 from kenjis/docs-concepts-goals.rst
Browse files Browse the repository at this point in the history
docs: restore goals.rst from 3.0 user guide
  • Loading branch information
kenjis authored Jun 12, 2024
2 parents ce3750c + 98465f6 commit cf0e87d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions user_guide_src/source/concepts/goals.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
##############################
Design and Architectural Goals
##############################

Our goal for CodeIgniter is maximum performance, capability, and
flexibility in the smallest, lightest possible package.

To meet this goal we are committed to benchmarking, re-factoring, and
simplifying at every step of the development process, rejecting anything
that doesn't further the stated objective.

From a technical and architectural standpoint, CodeIgniter was created
with the following objectives:

- **Dynamic Instantiation.** In CodeIgniter, components are loaded and
routines executed only when requested, rather than globally. No
assumptions are made by the system regarding what may be needed
beyond the minimal core resources, so the system is very light-weight
by default. The events, as triggered by the HTTP request, and the
controllers and views you design will determine what is invoked.
- **Loose Coupling.** Coupling is the degree to which components of a
system rely on each other. The less components depend on each other
the more reusable and flexible the system becomes. Our goal was a
very loosely coupled system.
- **Component Singularity.** Singularity is the degree to which
components have a narrowly focused purpose. In CodeIgniter, each
class and its functions are highly autonomous in order to allow
maximum usefulness.

CodeIgniter is a dynamically instantiated, loosely coupled system with
high component singularity. It strives for simplicity, flexibility, and
high performance in a small footprint package.
1 change: 1 addition & 0 deletions user_guide_src/source/concepts/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ The following pages describe the architectural concepts behind CodeIgniter4:
factories
http
security
goals

0 comments on commit cf0e87d

Please sign in to comment.