15 Jul ‘Frontend and backend: main features’
Web development is the process of creating sites and web applications, which consists of many stages. To understand how this works, let’s figure out what the site consists of.
Any site consists of user and server parts. On a page on the Internet, you see text, buttons, panels, images, and videos. You can navigate the site, freely study the content. Here is the user part of the site and the result of the work of the frontend developer: visualization, interactivity, and the interface are clear. You see a beautiful design, illuminated buttons, and interesting typography, the site is convenient to use. But how does it all work from the inside out?
The server part, which is hidden from the user, is responsible for the logic, performance and proper functioning of the site. The backend developer is engaged in its creation, and only the site administrator can manage it through a special interface.
Any request made by the user is sent to the server. All work is going on there. The request is processed, filtered, and the response is sent back. Backend development is responsible for the correct execution of this process.
Frontend and Backend Functions
Take an ordinary computer as an example. You freely move through files and folders, you can delete and change information, add new, do whatever you want. But access to the server-side is closed for you. The computer hides folders with system files so that the user does not do anything stupid and does not affect its proper operation. Roughly the same thing happens with the site. Only those parts that do not affect its operation are available to you. That is, you can use the product, but do not have access to the code.
The server and user are interconnected. And they can give a good result, that is, an understandable and functional site, only when they work harmoniously.
What is the difference between frontend and backend
Imagine that we are talking about a person, not about software. The interaction of frontend and backend development is similar to the coordinated work of the human body and nervous system. Subcutaneous receptors send information to the brain. It processes the received data and sends a response pulse, causing the body to respond.
Frontend is responsible for how the product looks.
Backend – for how this product functions.
How it works in computer language
There are several customers. Clients can be regular browsers on a computer or mobile device. One of the clients is the browser of your computer. You want to receive information from the Internet. Make a request: enter your question in the search engine Yandex or Google. A page with the information you need immediately opens.
How does it work? Your client, he is the browser, sends a request to the server. The first to the user’s server is the frontend. The frontend server (computer) processes the request, selects the backend server that is currently free, and sends it a request from the browser. The backend server processes the request, accesses the database, and sends the response to the request back to the frontend server. And frontend, since it is responsible for user convenience, already displays the response to the request in the form of an HTML page.
Now you know that frontend development is responsible for the user part of the site. The main task of the developer is to create a clear interface that will be easy to work with. Frontend is not only design, but also code that helps you interact with the user.
– Mathew Marcelino