How does the web work Flashcards
Get colour coded and formatted code on ODIN project (and probably Launch School)
```javascript
code code code
~~~
What is the Internet?
A series of linked cables, routers, and computers.
The internet is the hardware.
What’s the world wide web?
The web is the pages you see. The Internet is the hardware.
What’s a web page?
A series of text, videos, formatting that you look at in a browser.
What’s a web browser?
A program that displays web pages.
What’s a search engine?
A website that searches over all other web servers for information.
What’s is a client?
A computer that requests information
What is a server?
A computer that receives requests from the client and responds with the appropriate data.
What is an IP address?
A numerical ID that specifies a destination in a network.
Can be for a computer or router.
Like the address for a shop.
What does HTTP stand for
What does HTTP do?
What’s an apt metaphor?
Hyper Text Transfer Protocol
An application protocol that defines the language for clients and servers to speak to each other.
Like the language, you use at the shop.
What does TCP/IP stand for?
What does TCP/IP do?
What’s an apt metaphor for it?
Transmission control protocol and internet protocol.
Defines how data should travel across the internet. How data should be
packetized,
addressed,
transmitted,
routed, and
received
Like a car or bike allowing the sending of information.
Maybe more like the packing of a transport truck and it’s route?
What are the component files?
Code files: HTML, CSS, JS
Asset files: images, music, etc.
What does DNS stand for?
What is a DNS server?
Domain Name System
A server of IP addresses for websites. The domain name is like a shop’s name, the IP address is like the street address.
What happens when you run a search on a search engine like google?
Google receives request. Search contents of their data bases, sends back the result as a response.
What is the journey of a packet?
Enter domain name
Search domain name on local DNS cache. Then send request to DNS server.
DNS server sends IP address to your computer.
Then you send a request to that IP address for a copy of their website.
Website comes back separated into packets.