slide.show
slide.show
Prepared by :
Suleiman Ahmad
Imran Ridwan
Suleiman Abubakar
Client-Server Model:
The client (e.g., web browser) requests
information from a server.
The server provides the requested
information or service.
The client and server communicate
through a network, using protocols like
HTTP/HTTPS.A
Basic URL structure
protocol: The protocol used to access the resource (e.g., http, https,
ftp).hostname: The domain name or IP address of the server (e.g.,
www.example.com).
port: The port number to connect to (optional, default is 80 for HTTP
and 443 for HTTPS).
path: The path to the resource on the server (e.g., /index.html).
How the Browser Interacts with Servers:
User enters a URL.
Browser requests the DNS server for the website's IP
address.
DNS server responds with the IP address.
Browser sends an HTTP/HTTPS request to the server.
Server sends the necessary files to the browser.
Browser renders the files, displaying the website.
Advantages of Client-Server
Model:
Centralized system with all data in one place.
Cost-efficient with lower maintenance costs.
Data recovery is possible.
Scalability and flexibility.
Disadvantages of Client-Server
Model:
Clients are vulnerable to viruses and malware.
Servers are prone to denial-of-service attacks.
Data transmission risks, such as spoofing and phishing.
Conclusion:
The client-server architecture is
fundamental to modern web development,
offering scalability, security, and flexibility.
Understanding this model is crucial for
software architects and
working professionals