Section 10 Chapter 61 - Client Server Model Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Client Server Model

A

A client sends a request message and the server should respond with the data requested

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

WebSocket protocol

A

Defines an API establishing a full duplex (bidirectional) connection between the client and the server. Packets are constantly being sent both ways and the packets have no security checks and much smaller header data. The connection is persistent

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

CRUD mappings

A
CRUD - HTTP - SQL
Create - Post - Insert
Retrieve - Get - Select
Update - Put - Update
Delete - Delete - Delete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Use of REST

A

Client requests some data and sends the command using CRUD. Client side javascript passes HTTP request to database server. Server returns an JSON/XML response which is forwarded to client

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

Advantages of JSON over XML (4)

A
  • Easier to read
  • Compact
  • Easier to create
  • Easier to parse
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Thin vs Thick client

A

The thickness of a client refers to how much processing and storage is done on the client vs on the server

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