Module 12 Flashcards
WWW == internet?
no
the world wide web is an application (software) that operates over the internet (hardware)
- internet provides infrastructure
- www uses the infrastructure to run an application on which users connect and exchange data
other applications use the internet as well, e.g. email
WWW
an application on the internet that combines many protocols to allow for communication and transfer of data between machines
the web is composed of __________ that are logically linked
documents
uniform resource identifier
alphanumeric string of characters used to uniquely identify a web page or resource
uniform resource locator
URL
type of URI that specifies the location on the WWW and the mechanism for retrieving it
break down of a URL
two types of content on WWW
static
- -same for all users
- -appearance may vary based on specific browser but content is the same
- -HTML, CSS
dynamic
- -programmatically generated depending on the user, context, config, arguments, etc.
- -technologies: javascript
t/f internet is a completely connected graph
true
what is a web browser?
software that is used to access and display Web content and to navigate across the Web
2 main components of the browser
- Rendering engine (HTML/CSS): responsible for static content presentation, formatting and layout
- JavaScript Engine (JS): responsible for creating and modifying dynamic content and appearance
how does a web browser work?
Hypertext Transfer Protocol (HTTP) to transfer documents
• this is a client/server protocol
- client sends request
- server sends HTTP response, includes content that client request`
anatomy of an HTTP request
http request example
anatomy of an http response
most common status codes
200 OK - request succeeded, resulting resource (as stated in request) will be included in message body
404 Not Found - requested resource does not exist
500 server error - error on the server side in processing the request
http response example