Jump to content

What do you store in the Web Root?


doubledee

Recommended Posts

It really depends on your applications structure. Using one of the many MVC frameworks around there is generally no need to store more than the index.php file and maybe a bootstrap of some sort.

 

You obviously still need to store assets such as Javascripts, images and css files.

It really depends on your applications structure. Using one of the many MVC frameworks around there is generally no need to store more than the index.php file and maybe a bootstrap of some sort.

 

You obviously still need to store assets such as Javascripts, images and css files.

 

Originally, in my Web Root I had folders called things like "Articles", "Interviews", "Case Studies" which is where I would store most of the content for my website.  But since then I have moved most of that into a database.

 

However, there are some pages that are "one-offs" and so it doesn't make sense to put them in my database.

 

So I'm at a loss of where to put them, especially if they are linked to from the Home Page.

 

Right now I just put them in the Web Root (i.e. Level 1) but that makes my Web Root messy as time goes on.

 

I tried grouping things like all of the links in my Footer into a folder called "Footer", but some pages are just sorta out there on their own.  For instance, I have a page that is linked from my Home Page called "factoids.php"

 

Any ideas what to do?

 

 

Debbie

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.