application structure of codeigniter framework

Learn application structure of CodeIgniter framework

CodeIgniter is an application development framework, which can be used to develop websites, using PHP. It is an Open Source framework. It has a very rich set of functionality, which will increase the speed of website development work.

The architecture of CodeIgniter application is shown below.

Codeigniter Application Structure
Codeigniter Application Structure

1. As per the above figure, whenever a request comes to CodeIgniter, it will first go to index.php page.

2. In the second step, Routing will decide whether to pass this request to step-3 for caching or to pass this request to step-4 for security check.

3. If the requested page is already in Caching, then Routing will pass the request to step-3 and the response will go back to the user.

4. If the requested page does not exist in Caching, then Routing will pass the requested page to step-4 for Security checks.

5. Before passing the request to Application Controller, the Security of the submitted data is checked. After the Security check, the Application Controller loads necessary Models, Libraries, Helpers, Plugins and Scripts and pass it on to View.

6. The View will render the page with available data and pass it on for Caching. As the requested page was not cached before so this time it will be cached in Caching, to process this page quickly for future requests.

Read Complete Codeigniter Directory Structure

Ankit Pathak

Meet me, I'm Ankit Pathak an energetic, ambitious person who has converted several ideas into the reality. I'm a web developer & graphic designer which sometimes give me an added advantage to beautify my development skills.

1 Comment

  1. swordburst 2 script says:

    Hi there! Do you use Twitter? I’d like to follow you if that would be ok. I’m undoubtedly enjoying your blog and look forward to new updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.