I realise that this is a bit stupid, but I'm a bit lost here - I've recently decided to re-arrange my webserver's content filing system so that it is more efficient and flexible in regards to the addition of content in the future. Could someone advise on which way will be more beneficial in the long-term?
1.) My current, original filing system:
I currently have a folder for each web page: index, contact, about, etc. Inside each webpage folder I have a folder for each type of content that is on that webpage: css, js, images, flash, pages, etc.
Examples: http://example.com/contact/images/email.png or http://example.com/about/flash/copyToClipboard.swf
2.) My proposed, planned filing system:
I plan to have a folder for each type of content. Inside each content folder I plan to have a folder for each webpage.
Examples: http://example.com/images/index/welcome.png or http://example.com/js/index/animate.js
General summary: is it better to keep each page's content isolated (filing system #1) or to keep all kinds of content together (filing system #2)? Thanks :)
