When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles
Message Board
Related Web Technologies
User Tips!
Coding Tips

Sample Chapters
Commonly Asked Message Board Questions
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Stump the SQL Guru!
XML Info
Author an Article
ASP ASP.NET ASP FAQs Message Board Feedback
Print this page.
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...

  • ASP.NET [1.x] [2.0] | ASPFAQs.com | Advertise | Feedback | Author an Article