evidenttutorials.com
Home CodeIgniter Django Go HTML JavaScript jQuery PHP Python Server SQL
Page 1 of 1.
July 06, 2025

Explain MVC architecture in CodeIgniter

MVC stands for model, view and controller. Here M represent model part and in this part we keep all the database related code and interactions. C represent controller part, It contains complete project's business logic. controllers also works as a mediator between models and views. V represent view part, it contains views. These are HTML files which used to create user interfaces.

Read more... 
July 06, 2025

What are controllers in CodeIgniter

Controllers are very important in CodeIgniter project. It contains complete project's business logic. Controllers also works as a mediator between models (database classes) and views (HTML UIs). Controllers are bind with URLs, so whenever a user hits a URL based on URL and controllers mapping, appropriate controller function and classed gets called.

Read more... 
July 06, 2025

What are views in CodeIgniter

Views are very important in CodeIgniter. These are HTML files which used to create user interfaces. Sometimes we have embedded PHP in it to create dynamic web pages. We can pass variables and objects to CodeIgniter view to load dynamic content. Through controllers we render views.

Read more... 
July 06, 2025

What are models in CodeIgniter

Models are very important in CodeIgniter. We perform database related operation by using model classes. In CodeIgniter we extent all the model class with CI_Model class (It is CodeIgniter's build-in class). Ideally we should create one model class for one table, which makes are code more cleaner and easy to maintain.

Read more... 
July 06, 2025

How to load model class in CodeIgniter?

There are three ways to load model classes in a CodeIgniter project. First, at the project level, you can include the model in the project's configuration file, making it available in entire application. Second, if the model needed only in a specific controller, it can be loaded in constructor. Third, if the model is needed in a particular function, it can be loaded directly inside that function.

Read more... 
July 06, 2025

Set and Get variables in CodeIgniter session

CodeIgniter sessions are very import to maintain variables across multiple web pages or multiple http requests. With session variables we can easily identify users are coming with same session even if they are accessing different web pages of a website. CodeIgniter session library makes developer's life easy and provide easy way to maintain session variables.

Read more... 
Page 1 of 1.

Latest Posts

You can find latest posts below:

Capitalize first character of each word in a string in JavaScript Capitalize first character of each word in a string in Go Capitalize first character of each word in a string in Python Capitalize first character of a string in JavaScript Capitalize first character of a string in Go
About Us Privacy Policy Disclaimer