File organization: aesthetics and security
I'm building my first relatively large website, and the files are getting
to the point where I really should be organizing more so I don't get lost.
So I was wondering if there were any benefits to putting php and html
files into different folders as opposed to leaving them all in one folder
and organizing them by names, possibly with folders to break them up(like
put folder "b" in to separate a.php and b.html when viewing). So I have
two specific questions about file organization:
Would leaving all of the files in one folder propose any security risks?
Does separating the files into a bunch of different folders slow down the
speed any measurable amount?
Are there any other quantifiable differences, other than aesthetics?
No comments:
Post a Comment