Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 2nd, 2005, 09:13 AM
aspfree2000's Avatar
aspfree2000 aspfree2000 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 51 aspfree2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 13 m 34 sec
Reputation Power: 6
Folder structure..........Help

A friend and myself have started working together on some sites and something we're finding difficulty with is agreeing about folder structure under the root.
We need to use exactly the same structure to avoid confusion and we're not sure which way to go.

One of us likes to have an empty root except for default.asp and then separate folders for images, stylesteets, scripts, pages, includes, etc.

Any pages such as boats.asp; cars.asp; contactus.asp and links.asp etc. would be under the folder called 'pages'.

If the page called cars.asp (which will be under the 'pages' folder), has to lead to (say) 10 pages about specific cars, a sub folder under 'pages' called 'cars_specific' would be created to contain them.

Any image folders needing to be seperated, such as 'images_boats' and 'images_cars' would be sub-folders of the 'images' folder.



The other one of us prefers to have all the main pages such as default.asp; boats.asp; cars.asp; contact_us.asp and links.asp etc. directly under the root.
the normal folders such as images, stylesteets, scripts, includes, etc. would also be under the root but.........

If the main page called cars.asp will need to lead to (say) 10 pages about cars, a folder would be created directly under the root called 'cars_specific' and those 10 pages would go inside the 'cars_specific' folder.

Any image folders needing to be seperated such as 'images_boats' and 'images_cars' would be created directly under the root

If anyone would be kind enough to give us the benefit of their experience on which way we should go we really would be very grateful.

Thanks guys..........

Brian.
Comments on this post
baseballdude_ agrees: Great Post. This will prove to be useful for all to read!
__________________
Try to look unimportant. The enemy may be low on ammo.


Reply With Quote
  #2  
Old August 2nd, 2005, 10:51 AM
Sluap's Avatar
Sluap Sluap is offline
Mooing Wizard
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Jul 2005
Location: Somewhere in England
Posts: 1,205 Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 4 h 3 m 19 sec
Reputation Power: 55
depending on the site i tend to use the first option, i feel all images should be in a central place and withing the images folder u can have sub folders ie home, cars etc.

as for the build files (asp,html) if thier are alot of pages per section as u said 10 for cars etc i would pop thise in a folder along with the main car page so that thier easy to locate.

If its a single page lets say contact or something like that i sit that with the index.asp as it is only one page and id not going to get too confusing. basically my tip is to make the site by yourself or someone else as easy to understand where all the files are dont make it too complicated try to keep full sections togther if there large.

Cheers
Comments on this post
PhilCollins99 agrees: Good advice!

Reply With Quote
  #3  
Old August 17th, 2005, 07:44 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
I build my sites differently, of course, I use Visual Studio rather than Dreamweaver thesedays, so my structure is different (and I usually navigate my work using the Class View, rather than Solution/File View)

Anyway, for the compiled versions, I usually lay them out like this:

Code:
 /root
-/bin/ (put assemblies in here)
-/styles/ (put style folders in here)
--/style1/ (style.css and style-relevant assets go in here)
--/style2/ (alternative style.css and style-relevant assets go in here)
-/assets/ (non-style related assets, such as logos, diagrams, photos, etc)


As for the content pages, I arrange them according to the application. But if I'm using URL rewriting of some sort, then I usually arrange them in an object-orientated way.

Consider this CMS I was writing earlier this year:

Code:
/root
-/bin/
-/styles/
--/Organic/
--/C9/
--/FMSDN/
-/assets/
-/pages/
--/Users/
---/Add.aspx
---/Edit.aspx
---/View.aspx
--/Items/
---/Add.aspx
---/Edit.aspx
---/View.aspx
--/Foo/
---/Add.aspx
---/Edit.aspx
---/View.aspx

Reply With Quote
  #4  
Old August 18th, 2005, 05:47 AM
aspfree2000's Avatar
aspfree2000 aspfree2000 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 51 aspfree2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 13 m 34 sec
Reputation Power: 6
Thumbs up

Thanks guys for your input.
It's been most helpful.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Folder structure..........Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT