Client-Server Model Flashcards
What is the client-server model?
The client-server model is a type of network consisting of on-demand network services who process requests from client nodes.
Define the API.
An API (Application Programming Interface) is a set of functions and protocol which can be used by the clients.
What is a server-side web API?
A server-side web API is an API consisting of several web services and functions used for web development. such as developing web applications.
Give a limitation of HTTP communication.
There is a risk that the connection may drop to save resources, if the request sent by the client computer doesn’t reach the web server, or the request takes too long to reach the server. This results in a timeout error.
Give a limitation of HTTP communication.
The client has to pull a lot of data from the server.
Define the WebSocket protocol.
The WebSocket protocol is a communications protocol involving API being used to establish a TCP socket connection. The transmission method used here is full-duplex, simultaneous transmission.
Give the 4 data manipulation operations on the web.
CRUD: Create, Retrieve, Update, Delete
Describe the 4 data manipulation operations on the web.
Create - Writing a record to the database
Retrieve - Retrieving a record from the database
Update - Amending/Editing a record of the database
Delete - Removing a record from the database
Give the four HTTP operations.
G - Get
P - Post
P - Put
D - Delete
Describe the four HTTP operations.
G - GET
P - POST
P - PUT
D - DELETE
What is REST?
REpresentational State Transfer, is an architectural style involving examining how systems interact/communicate, often implementing HTTP methods.
What does REpresentational State Transfer use HTTP methods for?
REST systems use HTTP methods to interact with databases.