1.3.4 Web Technologies Flashcards
Describe the client-server model
- Servers: provides resources, e.g. web page
- The server hosts sites
- The server process is associated with a computer port
- A server sends the required resources in response to a request
- Client: the service making the request, e.g. a browser
- The client process makes the request and waits for a response
Describe client-side processing
- Refers to operations carried out on the ‘client’ side of a client-server relationship
- A browser will format a web page by the HTML and CSS tags/styles sent by the server
- Operations are carried out to offload processing from the server, reducing load and communication bandwidth
Describe server-side processing
- Refers to processing done on the ‘server’ side of a client-server relationship
- Web pages containing data from file systems sends the client customised pages
- A resource requiring server-side processing uses a server-side script
Describe how a PHP interpreter will handle a dynamic server-side request
- The server-side script will execute an SQL statement
- Dynamically creating an HTML page from a database
- The HTML is then returned to the client web browser with a success status code
What does the ‘thickness’ of a client computer represent?
This is the level of processing and storage that the client does in comparison to the connected server
What is the difference between thin-client and thick-client computing?
Thin-client: server performs more processing and storage
Thick-client: client performs more processing and storage
What is an API?
Application Programming Interface:
A set of protocols on how applications should interact
Sets out the format of communication in client-server relationships