educative.io

Educative

Client Server Architecture

When we say in a two tier application like the client server model , the user requests information from an User Interface application which then gets the information from the server and returns the response to the browser . In this example is the user who is requesting application from its local machine the client or is it the user interface application hosted in some machine the client?

Hi Subhankar!
In 2-tier applications, it is the application(presentation layer) that serves as a client whereas the database serves as a server.
I hope this will clear your point. If you still have any confusion then please let us know.
Thank you.

1 Like

@Subhankar_Bhattachar The user interface and the machine collectively can be called a client. Also, the user interface does not provide a response to the browser. The UI runs in the browser and the browser fetches the data from the backend.