Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

Articles8.3 Brain Damage


September 1995 / The Byte Network Project / Web Search / 8.3 Brain Damage

If you're generating HTML mechanically, why not simply create long filenames, so that URLs themselves carry the information stashed in the HTML header (e.g., "January_1994/Reviews/Low-Cost_Laser_Printers.html")? That I didn't think of this at first shows the brain damage caused by years in the mental prison of the DOS 8.3 filename.

It's nice for URLs to be descriptive, but it's not necessary. What is essential is that they're unique and immutable. My scheme, which just enumerates sections and articles, guarantees uniqueness -- there will be only one art\9401\sec9\art7.htm in the collection. But will that URL immutably refer to the January '94 review of laser printers? Not if we find that we've forgotten to include another Jan uary '94 article and then decide to regenerate the collection. Uh oh. Everything gets renumbered. This isn't a problem for Web site users because the navigation and search functions adjust to the new structure. But if you've saved a bookmark to art\9401\sec9\art7.htm, you'll be upset if I renumber the collection.

I'm not aware of gaps in the 1994 collection that's on the Web now, and I don't expect we'll need to renumber it. But I do want to try using descriptive URLs for 1995 and future content.


Up to the The Byte Network Project section contentsGo to previous article: What about WAIS?Go to next article: The Road TraveledSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network