• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

URI Vs hierarchical file system

 
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...
 
Saloon Keeper
Posts: 12002
257
  • 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".



 
Do Re Mi Fa So La Tiny Ad
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic