When the root directory is well maintained and contains nothing that is not required, it will be small. It makes perfect sense to tuck support and content files away in another directory and not have them clutter up the root.
What would we expect to find in a typical root directory?
- index.html else .php, .htm, &c.
- favicon.ico as well as perhaps .png, &c.
- search engine verification tokens
Little else needs to reside in the root. That said, do we need a
+ site root/
- vendor.css (jqery, bootstrap, &c.)
- vendor.js (jquery, angular, bootstrap, &c.)
We can have all the resources we want in the respective folders.
is accessible from everywhere as would be any CSS file. If their skin graphics are all in the
skin directory, they are directly accessible from the CSS directory. We can manage an entire site on this simple file structure, as far as supporting resources is concerned.