what is CodeIgniter

CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. CodeIgniter was created by EllisLab, and is now a project of the British Columbia Institute of Technology.

what is CodeIgniter

Audience

This tutorial has been prepared for developers who would like to learn the art of developing websites using CodeIgniter. It provides a complete understanding of this framework.

Prerequisites

Before you start proceeding with this tutorial, we assume that you are already exposed to HTML, Core PHP, and Advance PHP. We have used CodeIgniter version 3.0.1 in all the examples.

Small footprint

The entire source code for CodeIgniter framework is close to 2MB. This makes it easy to master CodeIgniter and how it works. It also simplifies deploying and updating it.

Blazing fast

Users tend to favor applications that load very fast. If you have worked with some of the modern frameworks, then you will realize that they take less than one second to load just after installation. CodeIgniter, you can load on average around less than 50ms. The extra time spent optimizing like is the case in another framework is freed up when you are working with CodeIgniter framework.

Loosely coupled

The built-in features are designed to work independently without relying too much on other components. This makes it easy to maintain and make upgrades

MVC Architecture

The PHP CodeIgniter framework uses the Model-View-Controller architectural design. It is industry standard practices when working with web applications. MVC separates the data, business logic, and presentation.

Excellent documentation:

The framework is well documented, and there are good books, tutorials and answered forum questions on CodeIgniter. This means whatever challenge that you have, chances are someone has already encountered the problem, solved it and the solution is out there for you.

How CodeIgniter Works?

CodeIgniter is an MVC framework. MVC stands for Model View Controller. When a user requests a resource, the controller responds first. The controller understands the user request then request the necessary data if necessary.

For example, if you want to retrieve a customer with the id= 3, the controller will receive your request, then request the CodeIgniter models to retrieve the record with the id of 3. The CodeIgniter models will return the record to the controller. The controller then forwards the result to the view which formats it into a human-readable format. Then the results are returned to the user in the browser.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow