Getting Shit Done takes a combination of language proficiency, problem solving and google-fu. Take a look at how I briefly review topics of interest to help everyday programmers gain quick, simple and fundamental knowledge of not-so-simple programming concepts.
Saturday, December 30, 2017
URN vs. URL vs. URI
Uniform Resource Identifier (URI) : Identify
A compact sequence of characters that identifies an abstract or physical resource. Encompases URN's and URL's (and URC's).
Example: "www.google.com", "http://www.google.com"
Uniform Resource Name (URN) : Uniquely name
Identifies a resource by a unique and persistent name, but doesn't necessarily tell you how to locate it on the internet.
Example use: 6e8bc430-9c3a-11d9-9669-0800200c9a66
Unified Resource Location (URL) : Locate
Contains information about how to fetch a resource from its location. URL's ALWAYS start with protocol.
Example use: "http://www.google.com"
So if I want to be 'that guy', when should I use which terms?
Use URI's for most everything, unless it includes protocol ('http://', 'https://', etc) in which case be 'that guy' and say it's a URL.
Source
https://danielmiessler.com/study/url-uri/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment