Codeigniter Application Architecture - Codeigniter Directory Structure-Codeigniter Tutorial for Beginners Step by Step in Hindi

In this tutorial we will discuss about codeigniter application structure and file structure .In the image below, the application structure of Codiginator is explained.

codeigniter application structure

Codeigniter Directory Structure

Codeigniter structure basically divided into 3 Directory.

  1. Application Directory
  2. System Directory
  3. user_guide Directory

 

Application Directory :

Application Directory main developer Directory in codeigniter . all developer related code write in application folder .application folder contains model,view and controller and more Directory.

          codeigniter folder structure

  1. cache
  2. config
  3. controllers
  4. core
  5. helpers
  6. hooks
  7. language
  8. libraries
  9. logs
  10. models
  11. third_party
  12. views

cache :

cache Directory contains all cache related pages data .cache are technology for serve page faster

config :

 In config folder contains all configretion related files like autoload.php,config.php,database.php,hooks.php,routes.php and more

controller :

This folder holds the controllers of your application. It is the basic part of your application.

core :

core folder contains basic class of codeigniter

helpers :

helpers folder contains custom helpers related files 

hooks :

hooks folder contains hooks related class and files.hooks are validation technic in codeigniter

language :

language folder contains multipal language keyword related file and folder 

libraries :

 libraries folder contains custom libraries related files

logs :

long folder contains application error related logs

model :

model folder contains user define model related files.model are use for communicate with database

third_party :

third_party party folder contains third party files and folder

views :

 views folder contains all view related html files

 

System Directory 

System folder are main application folder of codeigniter. system folder contains all pre-define codeigniter libraries,helpers and class ,this folder are main folder of codeigniter application

user_guide :

user_guide folder contains codeigniter developer help documentation

 


Related Tutorials