IT 231: IT and Application
By the end of this chapter, you will be able to:
Client-Server Architecture: A computing model where a central server hosts, delivers, and manages resources and services for one or more clients.
Think of it as a restaurant: you (the client) order from the kitchen (the server).
Requests services.
Interacts directly with the end-user.
Examples: Web Browser, Mobile App, Email Client (Outlook)
Provides services.
Waits for and responds to client requests.
Examples: Web Server, Database Server, Mail Server
The client is any computer or program that requests services or resources from a server.
When you type www.google.com into Chrome, Firefox, or Safari...
...your browser acts as the client, sending a request for the Google homepage.
The server is a powerful computer or program dedicated to providing services to clients.
Stores website files (HTML, CSS, images) and "serves" them to browsers upon request.
Manages the sending, receiving, and storing of emails for clients like Gmail or Outlook.
Servers are designed to handle many requests at once and run 24/7.
This is the core communication cycle of the client-server architecture.
💻➡️🌐
Your browser asks for a website.
⚙️🗄️
The web server finds the requested files.
💻⬅️🌐
The server sends the website data back.
This entire cycle often happens in milliseconds!
Client: Your smartphone app (the eSewa/Khalti app).
Request: You tap "Pay" for your NTC mobile top-up.
Server: The eSewa/Khalti server receives the request, validates your account, securely communicates with the NTC server, and processes the payment.
Response: The server sends a "Transaction Successful" message back to your app.
Any questions?
Next Topic: Unit 8.1 - Introduction to Networking Protocols