In this article, we will look at what the application consists of and what its basic usage models are for 2021.
What a simple web application consists of:
The interaction architecture of the simplest web application:
Server — Executes business logic based on the user’s request and sends the response in HTML or data. The main part of the calculations takes place here.
DB — Database for storing information. Based on the user’s request or independently, the server can retrieve or write information into the database.
UI — User interface. This is the part of the program that you see in the browser. The rest is hidden from you.
Let’s look at what are the options for combining this architecture.
This implementation option is very similar to the previous one, however, it allows you to change, process data received from other sources. This is a safer and more reliable way to work. You can also combine your application logic with data from a third-party resource.
Serverless architecture has become the most popular in recent years.
The server exists, but you cannot access it. This approach is implemented by gCloud services, AWS services, Microsoft Azure. In fact, all the raising of the server and writing the code, the programmer simply writes the business logic of the program.
If you have a very simple web application, you understand the load and it won’t expand. Use the simplest architecture.
If you cannot predict the load, and in our experience, there are 99% of such projects, use a serverless architecture and you will not go wrong.