CodeIgniter Introduction

18

- Advertisement -


Codeigniter introduction
Codeigniter is a MVC Framework
What is MVC?
MVC Stands for Model, View, and Controller
MVC Architecture
CI MVC Architecture
Model-

  • Model work as back-end.
  • The model deals with back-end operations.
  • Fetch data from the database and send it to the controller

Views-

  • View work as front-end.
  • View deals with front-end operations.
  • Display data and capture user action
  • Send user action to the controller

Controllers-
The controller works as an intermediator between model and view.
Advantage of MVC

  • Reduce code flexibility
  • Code Reusability
  • Easy to manage
  • Code readability

What is the framework?
The framework is a collection of reusable libraries. which mean how to reuse the code.
why we use CodeIgniter

How to install CodeIgniter
Download the code from https://www.codeigniter.com/
Extract the zip file and paste it the root directory
Rename the directory(if you want)
run the CodeIgniter (https://localhost/directory_name)

- Advertisement -

Leave A Reply

Your email address will not be published.

18 Comments
  1. rupal says

    thanks, Anuj Kumar. very well explain.

  2. Karimulla says

    Explanation is very good.

Leave A Reply

Your email address will not be published.