07-03-2007, 07:02 AM
Hello, I have recently began my web design second career and I have run into differing opinions and would like to ask the guru's here the same. When designing a page do you name the page aboutus.htm and stick it in the parent directory or do you make a separate folder named aboutus and make the htm page index.htm? What are the advantages and disadvantages of both, and why are there two schools of thought? TIA
07-03-2007, 07:07 AM
IMO its more of a matter of personal preference. I myself use one page for everything then I use php includes to call in the other files. In my case my includes are all in a folder called includes. Others may argue that putting an index file in its own folder will allow for cleaner urls as well as organization of files. They may opt to put all of the images for that page in that folder or any files that are links from that page may also go into that folder.
Well it depends on many factors. Firstly, just for note, I prefer to seperate all the pages into different folders (with the exception of the index page). This is exceptionally well when you have to maintain large web sites; you are able to place all the relative data into a single folder.
For smaller web sites, placing them all into the root folder, I suppose, is still okay, however things can become haphazard and things become more difficult.
Again, like I said, it depends on the type of web site your designing. I still say that it is better to seperate all the pages into different folders for simplicity and effecieny.
EDIT: Lol Aero, you typed faster than me!
07-04-2007, 03:35 AM
Thanks guys, that's how I felt, I guess I just wanted some sort of odd validation... Thanks!