DC Web Makers Blogs & News

Ten Must-Have Directories For Any Serious Application (Part 1)

Inexperienced application programmers usually develop projects with a little foresight for the proper project file directory structure. Spec...

Inexperienced application programmers usually develop projects with a little foresight for the proper project file directory structure. Specifically, they tend to forget including some main directories in their project root directory and keep the project files organized. When developing a website and/or mobile App, there are ten folders that you should create on your project root directory. The more organized the directories are, the more easier the maintenance will be. The following ten essential directories comes from my years of experience in developing large websites and mobile Apps (over 200 pages):

I. Admin
This is where you put all files related to the admin.

II. Application
You will put all project files like index.php here. When the site goes live, you can use Apache (.htaccess file on the root directory of server) to rewrite the root directory path.

III. Mobile
This directory contains the mobile App files. To be more organized, you can add other subdirectories like android, ios, web_app.

IV. Config
It is the brain of your application. It includes all application settings, custom functions, and possibly server cron jobs.

V. Libraries
You will put API or external library files like Google, Facebook, Paypal classes, or any application-related libraries here. If you application has its own API or uses SOAP services, you can create separate subdirectories for them.

Stay tuned for Part 2.....

DC Web Makers Blogs
Ten Must-Have Directories in any Application (Part 1)

Blog & News Details

Ten Must-Have Directories For Any Serious Application (Part 1)

  • Posted: Wednesday January 16th
  • Inexperienced application programmers usually develop projects with a little foresight for the proper project file directory structure. Specifically, they tend to forget including some main directories in their project root directory and keep the project files organized. When developing a website and/or mobile App, there are ten folders that you should create on your project root directory. The more organized the directories are, the more easier the maintenance will be. The following ten essential directories comes from my years of experience in developing large websites and mobile Apps (over 200 pages):

    I. Admin
    This is where you put all files related to the admin.

    II. Application
    You will put all project files like index.php here. When the site goes live, you can use Apache (.htaccess file on the root directory of server) to rewrite the root directory path.

    III. Mobile
    This directory contains the mobile App files. To be more organized, you can add other subdirectories like android, ios, web_app.

    IV. Config
    It is the brain of your application. It includes all application settings, custom functions, and possibly server cron jobs.

    V. Libraries
    You will put API or external library files like Google, Facebook, Paypal classes, or any application-related libraries here. If you application has its own API or uses SOAP services, you can create separate subdirectories for them.

    Stay tuned for Part 2.....