4.9.4.10 Client server model Flashcards
What is the difference between JSON and XML?
JSON more human readable Less code is created Faster to execute Easier to write Works with limited number of data types
XML more difficult to read Requires more code Slower to execute More difficult to write Can work with any data types, more flexible
What is the client server model?
An architecture that implies every computer on the network will be a client or a server. Client sends a request message to server, server responds to request by replying with a response message to client.
What is the websocket protocol?
defines an API (Application Programming Interface) establishing a full-duplex ‘socket’ connection between a web browser and a server over TCP. This means that there is a persistent connection between client and server, allowing both parties to send data at any time.
What is Web CRUD Applications?
Functions of a database, a language has to map to those functions to use a database: Create Retrieve Update Delete
What does REST do?
enables CRUD to be mapped to database functions
e.g SQL: C - Insert, R - Select, U - update, D - delete