Answer» - CodeIgniter is mainly designed to deliver high PERFORMANCE in less time within a good environment. For achieving this, each developing process is designed in a simplified manner.
- From the technical point of view, it is dynamically instantiated (libraries are loaded only on request which makes it light-weighted), has loose coupling (components depend very less on each other), and component singularity (each class and its functions are focused only on their purpose).
- Data FLOW in CodeIgniter: Below image represents that whenever a request is raised from the CodeIgniter application, firstly, it will go to the index.php file.
- index.php is the default file of CodeIgniter. This file initializes the base resources.
- The router determines what should be done with the information.
- If the requested cache file exists, then the information is moved directly to the browser and ignores the further processes.
- If the page requested by the user does not exist in the caching file, the HTTP request and data submitted will be passed under security check.
- The application CONTROLLER will load the models, libraries, helpers, plugins, and scripts REQUIRED according to the request.
- A view is used for fetching the data from the application controller that will be represented to the user, and they pass the data to the caching file to the FASTEST access for future requests.
|