PDA

View Full Version : Structure


Ruben
10-18-2004, 09:37 AM
A class-mate of mine and me were having a discussing on how we should structure the site...simply tell what option you prefer


option #1
css directory
images directory
menu_item1 file
menu_item2 file
menu_item3 file
index file
* all of the pages in the menu are in the root of the webspace and all of the images are in the images-folder. The files shown in pop-ups and stuff are placed on the root as well...


option #2
css directory
menu_item1 directory
menu_item2 directory
menu_item3 directory
index file
* all of the pages in the menu are in their own folders and the images are in the folder of the menu-item they are used in, the same goes for the files shown in pop-ups and stuff


Thanks for your advice

:) - Ruben

tg
10-18-2004, 05:10 PM
not enough info on what your putting together. are you showing us all of your files (except style sheets and images) in your layout here? whats menu_item1 file etc.?

generally the way i lay things out is:
images directory
swfs directory
script directory (for server side scripts)
xml directory (for static xml files)
index.htm

Cota
10-18-2004, 07:48 PM
I personally follow tg's method as well, but option #2, in your case seems more logical to me.

Gibberish
10-22-2004, 12:23 AM
same here.

Oraganization is your friend!

Ruben
10-22-2004, 07:51 AM
I personally follow tg's method as well, but option #2, in your case seems more logical to me.

Yup, that's actually what I was trying to convince the other guy to do, finally we ended up using a mix of both options...

thanks everybody for the advice though

:) - Ruben