tubeshowcase●929,037 videos♡ My collection 0
← Learn to Code

Learn to Code04:14

How The Backend Works

Web Dev Simplified ↗

From the creator

As we already know, the web is made up of two main parts. The frontend and the backend. The frontend is concerned with presentation and is fairly easy to understand since it is what we interact with daily on the web. The backend, on the other hand, is all of the parts of the web that users do not directly interact with. In this video we are going to discuss the basics of how the backend of a website works by tracing all of the steps that the backend must go through from the moment it receives a request to the point it sends a response back to the client. Starting at the beginning the server will receive a request from a client in the form of a URL. From this URL the server can get almost all of the information it needs in order to process a request. Let's break apart a typical URL. At the beginning we have the protocol for the request. The only thing that the protocol does is tell the server if the request is encrypted. HTTP is for standard non-encrypted requests, and HTTPS is for encrypted requests. Other than telling the server if the response is encrypted or not the protocol doesn't affect the way the server handles requests and can be ignored. Next, we have the host, also known as the domain name. Again, this is not important to worry about for the server since all it does is tell the internet which server to send the response to. Each server has their own particular host, so once the request actually gets to the server the host does not matter since all requests for the

Published 2019-04-01 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code