Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: restore goals.rst from 3.0 user guide #8557

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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