Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions Tools to help you create your site Free and shareware fonts to download Photographs to use in your projects Shop for your site needs Free Online classes REcommend this site to others Log in or edit your information when logged in Developingwebs Log Out Change My Account details and preferences
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

Organizing Your Site

Foresight

Whether you are building a site on Geocities or at your own domain, your site should be organized for convenience. This means convenience to you  and convenience to your audience. In the beginning when you build your site, you may just haphazardly name files and place them all in the same directory. If your site grows, so does the root directory. This makes it difficult to locate files you need to edit, files you might name similarly or even in the worst case scenario, you might overwrite files due to naming them the same. When your site becomes that huge, organizing would be a terrible chore. Hence you need to have foresight in organization.

With a new site, it is hard to believe it could ever grow past 5 pages and 4 images. However, when a webmaster has foresight that the site could grow, she will organize the site so that growth will be easily  accommodated.

Separation of Images and HTML

Most webmasters prefer to separate out the images from the root directory. Placing images in a separate folder called "images" allows you to keep your root directory clean, or strictly for the HTML files. When you do this, all your links to your images will be prefaced with a "images/" so that the HTML will point to the correct location on your web.

It is preferential for pages to share the same images instead of having duplicate images on the site. As you build your site, the images are isolated and easily located so that you can reference the same image in each HTML or select HTML to optimize the amount of space you take up on the server with your website. Not only do you share images with html pages, when you use a template of images, the actual template is written exactly the same so that it makes writing the HTML easier.

In the example on the right, there are20 items in your root directory. This can be organized to 5 pages and one directory in your root, thereby making it easier to scan through them.

Separation of HTML Docs

Larger sites or sites that plan on categorizing sub pages, will want to group like category pages in the same folder. This allows for linking directly to your folder for the default page to show up. Sub pages can be further organized and each folder may have its own images for those just used in HTML in that folder. Images shares across the folders will be placed in the main mages folder using the relative linking of "../images/" to reference one up image directory or "images/" to reference the image directory within the folder. This will eliminate huge image folders and make it easier to sort your HTML and keep track.

On the right there are a total of 16 pages. There are only 4 folders and one HTML page in the root. Each category folder has a subfolder for images used solely within the category and all the sub pages for that folder. This is organized for a medium size site.

 

Categories As Subfolders

There is no standard in this area, however, there is an intuitive and widely used classification for categories on sites. If a webmaster works within the common sense of a site, an experienced user can intuitively move about the site. This allows for your audience to use the site, and for your peers to help you with the site.

Suggestions for subfolders and their contents

  • /images/ used for images
  • /contact/ used for placing form HTML, contact information etc.
  • /about/ used for HTML that details and describes your company.
  • /info/ used for information about your company or for obtaining information
  • /news/
  • /help/
  • /portfolio/ where you place information about your past works
  • /help/
  • /cgi-bin/ used for cgi scripts
  • /private/ used for information to share between your webmasters but is password protected to the outside.
  • /public/ used for showing clients works in progress
  • /projects/ used for showing clients works in progress

 

 



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2012 All Rights Reserved
Privacy and Legal




iSECURE Network Security