### Client Vs Server :sparkles:
---
### What is a Client? ! :point_right:
* "A client is a computer hardware device or software that accesses a service made available by a server."
* What does this mean?
* Device Vs Programme.
* Eg. Taxi service.
* Types of request (URL, methods, URL encoded).
---
### What is a Server? :point_left:
* "A computer that hosts a website on the internet."
* What does it mean when the website doesn't load?
* Eg. Taxi service, you will look at the information i.e what drivers are available and you respond if you can or can't fufill with a response to the client.
* Static Vs Dynamic (Hardware and Software).
---
### Similarities :dancers:
* Both support JS in different environments.
* A server can be also be a client.
### HOW!!?

---
### Differences :large_blue_circle::red_circle:
* Run in different operating environments - server is always a computer, client device or programme.
* Client makes requests and receives a response and server recieves request and sends response.
* Server is hidden.
* Languages - PHP, Python, Ruby, C# (server side).
- HTML, CSS (client side).
* Different purposes/concerns.
* Different web frameworks.
---
### Server side development :rainbow:
* To allow the display of dynamic content, dependent on the client.
* Controlled access to content.
* Custom preferences.
* Store sessions.
* Notifications/communication.
* Data-analysis.
---
### What kind of code should be run on a server instead of a browser? :interrobang:
* Language (php, python, ruby, c#, node.js).
* Database management system - (SQL).
{"metaMigratedAt":"2023-06-16T17:42:25.125Z","metaMigratedFrom":"Content","title":"Untitled","breaks":true,"contributors":"[{\"id\":\"5fc58879-82a7-42a5-adb7-d717c9b3063b\",\"add\":3052,\"del\":1426}]"}