Client Server Models (chap 42) Flashcards
what is the client server model?
any device able to communicate to the server or another device can send requests from a sender to a receiver this request is processed through the server and sends back a response.
How can a client communicate or share resources ?
The client must make a request to the server.
where is client server model commonly used?
on local networks and on the Internet. An example could be self service check outs in supermarkets
what does API stand for
Application Programming Interface
what does the API do
An API defines the way in which programs can work together.
APIs are made of subroutines that can provide an interface between two programs.
An API can also define web protocols.
where is client server model commonly used?
on local networks and on the Internet. An example could be self service check outs in supermarkets
what is the web-socket protocol?
A Web-socket Protocol is an API.
It creates a connection between a clients program and a web server.
This allows communication between the program and server.
What does CRUD stand for ?
C Create
R Retrieve
U Update
D Delete
what is CRUD used for ?
All relational databases must have certain basic functions in order to be useful. These functions can be summarised by the acronym CRUD
What does REST stand for ?
Representational State Transfer
What is REST used for?
REST is a design methodology which allows an online database to be queried by a Web Server
What is REST used for?
REST is a design methodology which allows an online database to be queried by a Web Server
why does REST use HTTP?
Using HTTP, REST can carry out CRUD operations on a network database.
It does this using request and response messages.
what HTTP commands would be used for the four operation in CRUD?
HTTP commands comparing to CRUD:
Create