making a simple site/cms template (directory structure)
Posted: Sat Apr 30, 2011 12:53 pm
I am making a very simple site/cms template, currently reviewing its directory structure,
Do you see any flaws to this concept? How would you do it?
Code: Select all
/site/ { root folder, contains index page,htaccess,page templates,robots.txt etc. }
/files/ { contains the site resources images,css,javascripts,feeds }
/styles/
/jscripts/
/images/
/audio/
/video/
/flash/
/fonts/
/feeds/
/cms/ {folder for cms of the website}
/files/ { contains the cms resources images,css,javascripts,feeds }
/styles/
/jscripts/
/images/
/audio/
/video/
/flash/
/fonts/
/uploads/ {contains user uploaded files}
/system/ {contains files used both from the site and the cms, settings, languages, php classes}
/config/ {contains site/cms settings, initializes variables,objects etc.}
/errors/ {contains error files 404,500 etc. }
/includes/ {includes page sections like header,footer,menu,page body for site}
/cms/ {includes page sections like header,footer,menu,page body but for cms}
/languages/ {contains language files for site}
/cms/ {contains language files for cms}
/libraries/ {contains php classes}