To read the article online, visit http://www.4GuysFromRolla.com/webtech/top10/beg7.shtml

Make use of a sensible directory structure!


  • Back to Beginner's Tip Index
  • Next tip...

    Far too often I've seen sites with confusing file names and directory structures. (For example, this site! :) Articles indexed by date, directory names not too descriptive, etc., etc. (shame on us!!).) Anyway, it is a lot easier for your web surfers and for you, if you use ASP file names that reflect what the file do, and put scripts in directories with names that make sense.

    For example, say you were creating an Active Server Page site, and let's say that you had a section dedicated to learning ASP. It would make sense to put scripts relating to this learning tutorial in a directory named /learn. If you had a file about database questions, it might make sense to name the file dbQuestions.asp. Later, when skimming through the website, you'll have a better idea of what the script /learn/dbQuestions.asp is about, while if it was named something like /webtech/051399-1.shtml, you might a bit more confused! :)

  • Back to Beginner's Tip Index
  • Next tip...


  • Article Information
    Article Title: ASP Tips: Make use of a sensible directory structure!
    Article Author: Scott Mitchell
    Article URL: http://www.4GuysFromRolla.com/webtech/top10/beg7.shtml


    Copyright 2017 QuinStreet Inc. All Rights Reserved.
    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers