Home > Articles > Graphics & Web Design > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

Considering Site Organization

There are many opinions about the proper way to organize a Web site. Some people like to compartmentalize all the files into directories and subdirectories. Some people like to have a very shallow structure, with many files in a single directory. As you get more experienced at Web development, you'll find your ideal organization. It's nice to exchange ideas with other Web developers or hobbyists so that you can learn from the successes and failures of others and they can learn from yours.

I try to logically break up sections of Web sites into separate directories. If your Web site has obvious divisions (departments, lessons, products, and so on), you can create directories to hold the Web pages in each of the sections. You'll be surprised at how even a small Web site becomes quickly unmanageable when all the files are dumped into one directory.

Most Web sites use many image files. If you have different sections in your Web site, do you want to have separate images directories in each section? It might be a good way to organize your site. Then again, if images are used across multiple sections, it might make the images hard to find. Make sure that your organizational logic isn't going to break down as you add files to your site.

Luckily, if you do have to rearrange assets, Dreamweaver will update any links for you. When you move a file, Dreamweaver asks you if you want to search and update links to that file. That's what the site cache is created for. However, it is still best to make wise design decisions at the beginning of a big project.

  • + Share This
  • 🔖 Save To Your Account