Module 2
Module 2
CLIENT-SERVER ARCHITECTURE
A Client-Server Architecture. also known as the Client-Server Model, is a distributed
application structure that partitions task or workload between the providers of a resource or
service, called servers, and service requester called clients. A Client is a computer (Host) i.e.
capable of receiving information or using a particular service from the service providers
(Servers). On the other hand, a Server is a remote computer which provides information (data)
or access to particular services
The client computer sends a request for data to the server through the internet, the
server accepts the requested process and deliver the data packets requested back to the client.
LAYERS OF AN APPLICATION
The design of client–server systems should match how the different parts of the
application function and interact with each other logically.
1. Presentation Layer - the front end of an application; responsible for showing
information to users and handling any interactions they have with the application.
EXAMPLE: when you use a website or an app, the buttons you click, the forms you fill out, and the screens
you see are all part of the presentation layer
2. Appliaction Layer - the brains of the application; responsible for figuring out what needs
to be done based on your inputs and the application's rules.
EXAMPLE: if you're using a shopping app, the processing layer would handle tasks like adding items to your
cart, calculating totals, and processing payments
3. Management Layer - all about handling the application's data; responsible for storing
and retrieving all the data needed to make the application work.
EXAMPLE: in a social media app, the data management layer would handle tasks like storing user profiles,
posts, comments, and photos