ONLINEPROOFINGSOLUTION.COM

portrait - www.onlineproofingsolution.com

Menu


the site and make sure you create a system that makes sense to everyone and is easy to explain if a new person joins the team. Dont be afraid to give


files a slightly longer, more descriptive name. Whatever you do, dont name files randomly and throw them all in one directory. You should also consider documenting your naming system. Printing a list of all the filenames in your site can also provide a handy reference if youre looking for a particular file. Make sure your files work on your Web server. Dreamweaver lets you call your files any name that works on your operating system, even something like dont forget this is the photo the boss likes.htm, but your Web server may use a different operating system thats more restrictive. Many servers on the Web are run on UNIX machines that are case-sensitive - so stick to lowercase for filenames and extensions. Also, keep your URLs simple and easy to type by avoiding using spaces, apostrophes, or other special characters, except for the underscore (_) or hyphen (-). If you use filenames that your Web server cant read, then your site wont work until you rename all those files. Chapter 3: Planning and Maintaining a Web Site 77 Under construction? No hard hats here! All good Web sites are under construction - always. Its the nature of the Web. But build your site in such a way that you can add pages when theyre ready instead of putting up placeholders. Dont greet your viewers with a guy in a yellow hat who seems to say, "You clicked this link for no good reason. Come back another day, and maybe well have something for you to see." Instead of creating "Under Construction" placeholders, create directory structures that make adding new pages later easy. You can let readers know that new things are coming by putting notices on pages that already have content - a message like "Come here next Thursday for a link to something even cooler" is a great idea. But never make users click a link and wait for a page to load, only to find that nothing but a guy with a hard hat is waiting for them. 78 Part II: Looking Like a Million (Even on a Budget) Finding files by their addresses If youre not sure where you saved a file or what you called it, but you can get to it with your browser, you can determine the filename and location by looking at the URL in the browsers address bar. Each folder in a Web site is included in the address to a page within that folder. Folder names are separated by the forward slash /, and each filename can be distinguished because it includes an extension. For example, the address to the page displayed in the figure tells me that the file is named dwfd.html and that it is located in a folder called books. A few examples of good filenames are mugshot_jim.jpg, logo_128_x_240. gif, or deckchair.html. Bad filenames would include spaces and special characters. These filenames would not work well on a Web site: JimsMugShot. jpg, Logo.gif, or deck chair.HTML. Although coming up with names that work and that everyone else on your site development team will remember can take a little more time, its worth the effort in the long run. Now where did I save that file about organizing images. . . .