PHPGurukul

CodeIgniter Introduction


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

Model-

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

Views-

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

Controllers-
Controller works as intermediater between model and view.
Advantage of MVC

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

What is the framework ?
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 in the root directory

Rename the directory(if you want)

run the CodeIgniter (https://localhost/directory_name)

Anuj Kumar

This is Anuj Kumar. I’m a professional web developer with 4+ year experience. I write blogs in my free time. I love to learn new technologies and share with others.
I founded PHPGurukul in September 2015. The main aim of this website to provide PHP, Jquery, MySQL, PHP Oops and other web development tutorials.
.

Recommended Tutorials for you


18 comments

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

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.