Linking things to other things
URI
Uniform Resource Identifier
Identifies what something is, not necessary where
Example: Steve Leigh
URL
Uniform Resource Locator
Subset of URIs that also locate a resource
Eg. 52 Chalfont St, Salisbury, QLD, 4107
deconstructing a uri
<scheme> : <hierarchy> ? <query> # <fragment>
Fictitious example:
http://google.com/search?q=cats&l=en#results
Good examples on wikipedia
http://en.wikipedia.org/wiki/URI_scheme#Examples
scheme
<scheme> : <hierarchy> ? <query> # <fragment>
Must start with a letter
Followed by 0-9 a-z A-Z + . or -
Case insensitive
Some examples
http, mailto, ftp, file,
git, irc, ms-help, tfs, spotify, steam
Hierarchy
<scheme> : <hierarchy> ? <query> # <fragment>
<hierarchy> is either
<path> or //<authority><path>
Some Examples
sleigh@zaptechnology.com
//google.com/search
//user:password@domain.com:80
Query
<scheme> : <hierarchy> ? <query> # <fragment>
Not generically defined, but usually key-value pairs
separated by ampersands (previously semicolons)
Example
foo=bar&baz=qux
Fragment
<scheme> : <hierarchy> ? <query> # <fragment>
Direction to a secondary resource
Examples
Examples
External_Links
some examples
<scheme> : <hierarchy> ? <query> # <fragment>
http://en.wikipedia.org/wiki/URI_scheme#External_links
https://tfs.zaptechnology.com/tfs/Zap/_rooms#name=BI+Team+Room&_a=today
http://localhost/ZapBI/Pages/Main.aspx?resourcePath=Test%20Dependencies%2FScalingScenario
http://www.youtube.com/results?search_query=magical+trevor&sm=3
Rules to abide by
THe RFcs are massive
Don't bother with them
URI / URL
By xwipeoutx
URI / URL
- 798