🏗️Client-Server Architecture
Also known as Client-Server Model, Client Server
A system split in two: clients that ask and servers that answer.
Think of it like
Think of it like a restaurant. Diners ask for food, and the kitchen makes it and sends it out.
Example
Emma opens a weather app on her phone. The app, the client, asks a server for today's forecast. The server looks it up and sends it back.
Why it matters
It is the shape behind websites, apps and email. Knowing it explains where code runs and where data lives.
Definition
Common mistake
Key takeaways
- 1Client asks. Browser or app.
- 2Server answers. Holds data and rules.
- 3Check on the server. Never trust the client.