Other Diversions

security

politics

religion

technology

news

friends

Science / Skepticism


Powered by MT Blogroll

Recently Read

Latest Music

« Caja: Capability model for javascript | Juxtaposition Home | PCI PA-DSS draft does away with requirement for persisting credit card data »

URI vs. URL

I've wanted a good operational definition for when you should use URI or URL and so here's my attempt:

Summary:

URI refers to a resource.  e.g. urn:isbn:0-395-36341-1 for a book by ISBN

A URL is a type of a URI that provides additional information that URIs don't necessarily provide (but they can):
* URLs tell WHERE you can obtain a particular representation of a resource -- hence the "Locator" in the name.
** e.g., you use HTTP or FTP to access this server at this address and this specific resource (GIF file, PHP page, etc.)

A resource with a given URI could have multiple different URLs.  The same ISBN URI above can be found at Amazon or many other online URLs, for example.

Ajaxian » URI vs. URL: What’s the difference?

Uniform Resource Identifier - Wikipedia, the free encyclopedia

TrackBack

TrackBack URL for this entry:
https://juxtaposition.axley.net/blog-bin/mt-tb.cgi/740

Post a comment

«« January 2008

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Contact: Jason Axley

Search Amazon:

Amazon Logo