Project Tutorials
Introduction Directory Structure Project Setup Remove index.php using htaccess Change Default Controller CSS Add in Project Create Login Page Design Validation on Login Login with Database Flashdata on Login Display Username after Login Logout Design Dashboard Page List user data form database Insert Data Flash message show if data inserted Delete data from datebase Edit data from datebase Active Inactive user status Show active users detail on home page Image Upload Edit Image View Image on Home PageIntroduction
What is codeigniter
Codeigniter is a PHP Framework used for developing a web application. It works on MVC (Model View Controller) pattern. It contains libraries, logical structures and simple interface to access these plug-ins, libraries, helpers and some other resources which solve the complex functions of PHP more easily maintaining a high performance.
What is MVC(Model View Controller)
Codeigniter Framework is based on Model View Controller ( MVC ) pattern. MVC is a software approach that gives you a separate logical view form the presentation view.
Model :-
The Model represent your database structure. In Model Class, you can insert, update information in your database and also you can fetch the data from database and send to the controller.
View :-
It is the information that is presented in front of users. It can be a part of pages or complete webpage
like : Header, Body and Footer.
Controller :-
The Controller works as an intermediator between model and view to process HTTP request and generates a web page.
Main Points :
1) The controller file name should start from a capital letter (Uppercase Letter).
eg: File.php
2) Class name and File name (Controller File) should be same and also start with a capital Letter (Uppercase Letter).
eg: File.php (Controller File Name)
Syntax :
<?php
// Class name
class File extends CI_Controller {
}
?>
Source Code:
Codeigniter tutorial for beginners
In this project. We are providing you, how to create small project in Codeign....
Source CodeElevenstech Web Tutorials
Elevenstech Web Tutorials helps you learn coding skills and enhance your skills you want.
As part of Elevenstech's Blog, Elevenstech Web Tutorials contributes to our mission of “helping people learn coding online”.
Read More
Newsletter
Subscribe to get the latest updates from Elevenstech Web Tutorials and stay up to date