Created
November 14, 2013 07:59
-
-
Save abdullahbutt/7463090 to your computer and use it in GitHub Desktop.
CI's principles: Loose Coupling & Component Singularity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CI has two useful principles. | |
| These are set out in the Design and Architectural Goals section of CI's User Guide: | |
| Loose Coupling: Coupling is the degree to which the components of a system rely on each other. The less the components depend on each other, the more re-usable 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment