Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URI Vs hierarchical file system

 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although URI syntax looks like the syntax used info to navigate a hierarchical file system, this resemblance is misleading. A URI is an opaque identifier, a logically proper name that should denote exactly one resource.


Can someone please help to understand above statement,

URI should denote exactly one resource but hierarchical file system denotes one resource (a particular directory or a file)?
If a resource denoted by URI (suppose a html page) has (contains) multiple URI (links), that feels similar to a directory having multiple file / directories

appreciate your help. thanks...
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please quote your source.

In general, while a URI like 'http://example.com/some/resource.txt' may indicate that a file named 'resource.txt' is located in the folder 'some', this is not true in all cases. 'some' may not be an existing folder, but the web server just maps the resource to the string '/some/resource.txt'.
 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reply, its helpful.

Not sure, why can't I see edit option to update my previous post ...
Although URI syntax looks like the syntax used info to navigate a hierarchical file system, this resemblance is misleading. A URI is an opaque identifier, a logically proper name that should denote exactly one resource.
- from "Java Web Services - Up & Running".



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic