What is the Web?
An introduction to the basic structure of the Internet and how your web application fits into it.
We'll cover the followingPhysical layer
Data link layer
Network layer
Transport layer
Application layer
The web, simply put, is a network spread across the globe that connects a multitude of devices and allows them to communicate with one another.
Websites on the Internet are hosted on devices referred to as servers, and when you’re interacting with a webpage on the Internet, what you’re essentially doing is exchanging data with the server that the website is hosted on.
The device that you’re accessing the webpage using is referred to as the client in the context of the web. In short, the web enables the exchange of data between clients and servers through several elaborate mechanisms that we will be discussing in this chapter.
Network layers
Since the web is an immensely intricate and widespread network, machines within the network are typically divided into abstract layers, each of which performs a specific task that aids in the overall communication process. The layers are enumerated below:
- Application Layer
- Transport Layer
- Network Layer
- Data Link Layer
- Physical Layer
The transport layer is responsible for connecting applications on the Internet. It de multiplexes data coming in from a single source and transmits it to the application it is intended for. The basic purpose of the transport layer in the context of the web is that it provides process-to-process communication; it allows two individual processes on either the same machine or separate machines to send messages to each other. To do so, it uses sockets, which are essentially just the gateway to a process. In other words, sockets are the means through which messages are received and sent out by a process.
Application layer
Comments
Post a Comment