Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8533787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:02:53+00:00 2026-06-11T10:02:53+00:00

This is how I understand the Codeigniter directory structure to operate. I am using

  • 0

This is how I understand the Codeigniter directory structure to operate. I am using Codeigniter 2.1.2. Have I misunderstood the use of each directory? Anything I’ve forgotten?

-+ /application/
 |
 |-+ /cache/        Used for caching pages if it is enabled
 |-+ /config/       Contains the configuration files for this project
 |-+ /controllers/  All of your controllers are saved here
 |-+ /core/         Used for modifying the core Codeigniter classes
 |-+ /errors/       Handles your errors and their output
 |-+ /helpers/      Contains your own functions
 |-+ /hooks/        Used for running code at the certain points in the routing process
 |-+ /language/     Occasionally used for translating parts of your project into different languages
 |-+ /libraries/    Contains your own classes
 |-+ /logs/         When you log any sort of notice it is saved inside a file in here
 |-+ /models/       All of your models are saved here
 |-+ /third_party/  Basically another name for plugins which go here
 |-+ /views/        Your views are saved here normally organised by controller inside a new directory

-+ system/          Never go in here instead use the core directory inside /application/

-+ index.php        The front controller for your project

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:02:54+00:00Added an answer on June 11, 2026 at 10:02 am

    Almost, your basic understanding of the directory structure is correct. That said, you should avoid modifying the core CodeIgniter classes and should instead extend them as necessary.

    Helpers is not just ‘contains your own functions’. Helpers can either be your functions or built in ones, but these are classes/functions outside the core MVC set that ‘help’ get certain things done, e.g. form building or other routine tasks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to understand the framework structure in CodeIgniter and i have just started
I'm using this datamapper http://datamapper.wanwizard.eu problem is datamapper have validation methods similar with codeigniter
i have start working with CodeIgniter, but i can't understand one think. How do
You'll have to forgive me on this one. I understand that the issue is
I'm using MySQL ActiveRecord with CodeIgniter to submit queries, but have run into some
I'm using codeigniter and have some inputs fields and textareas, When I try to
I am a newbie with codeigniter. I am trying to write an application using
I'm using CodeIgniter. Let's say I have a model for the current user and
I am using the Codeigniter framework in a project - I have a tool
I have a form which uploads multiple file fields into a db using codeigniter.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.