Please enable JavaScript.
Coggle requires JavaScript to display documents.
Web Architecture Week 1 Lecture 3 The Architecture of the World Wide Web
Web Architecture
Week 1 Lecture 3
The Architecture of the World Wide Web
Identification
Identifiers should be global
Every object should be addressable
Uniform Resource Identifiers (URI)
<scheme>:<hierarchical part>?<query>#<fragment>
e.g.
http://www.example.org/aboutus#staff
URIs should be distinct and assigned to distinct resources
Avoid URI aliases: a resource should not have several URIs
History
Classical view
URL
Resource locations
URN
Resource names
URI
Modern view
URI
Representation
Definition
"A representation is data that encodes information about resource state. Representations do not necessarily describe the resource, or portray a likeness of the resource, or represent the resource in other senses of the word 'represent'."
Internet media types
Top-level types
text/plain, text/html, text/xml, etc
image/jpeg, image/gif, image/png, etc.
audio/mpeg, etc
video/mp4, video/quicktime, etc.
application/ecmascript, application/pdf, etc.
A specification SHOULD
Separation of content, presentation and interaction
Link identification
Web linking
Generic URIs
A data format SHOULD
Hypertext links
Interaction
Dereferencing URIs
Reuse representation formats
Safe retrieval
Available representation
Reference does not imply dereference
Consistent representation