Web architecture involves multiple components like database, message queue, cache, user interface & all running in conjunction with each other to form an online service.
This is a typical architecture of a web application, used in the majority of the applications running online.
If we have an understanding of the components involved in this diagram, then we can always build upon this architecture for more complex requirements.
Client-Server architecture is the fundamental building block of the web.
The architecture works on a request-response model. The client sends the request to the server for information & the server responds with it.
Web application like Facebook, Twitter or your banking app is built on the client-server architecture.
The client holds our user interface. The user interface is the presentation part of the application. It’s written in Html, JavaScript, CSS and is responsible for the look & feel of the application.
The user interface runs on the client. The client can be a mobile app, a desktop or a tablet like an iPad. It can also be a web-based console, running commands to interact with the backend server.
In very simple terms, a client is the window to our application. In the industry, the open-source technologies popular for writing the web-based user interface are ReactJS, AngularJS, VueJS, Jquery etc. All these libraries use JavaScript.
There are primarily two types of clients: