WebHints: Organization: The Web Namespace

Your service provider will provide you with a root directory within which you may construct a directory tree that will represent your web. For example, this WebHints web is at http://www.ross.net/webhints/.

You then must decide how to organize your files. Because text files and binary files must be transferred in different modes under FTP, it's a good idea to keep the binary and text files separate. The approach I have found successful is to create a subdirectory called binary into which all non-text files (images, sounds, and so on) will reside. Relative paths such as ../binary/image.gif can be used to refer to files in the binary directory from the main web files.

Your home page should be called index.html.

02-Jan-1997: Note: I used to use subdirectories called bin instead of binary. However, this caused some problems when uploading webs to FTP servers that treated the name bin as special, so I switched to binary.


* * Webmaster: ross@ross.net
Linkhere: Click here to find out how to link here.
Copyright: Copyright © Ross N. Williams 1995-1996. All rights reserved.