4.9.4.10 Client server model Flashcards

1
Q

What is the difference between JSON and XML?

A
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the client server model?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the websocket protocol?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Web CRUD Applications?

A
Functions of a database, a language has to map to those functions to use a database:
Create
Retrieve
Update
Delete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does REST do?

A

enables CRUD to be mapped to database functions

e.g SQL: C - Insert, R - Select, U - update, D - delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly