Save
...
Communication and Networking
TCP/IP Model
Client Server Model
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
willow
Visit profile
Cards (20)
What is the client-server model?
A model for
communication
between
client
and
server
View source
What protocol should you be familiar with in the client-server model?
Websocket
protocol
View source
Why is the Websocket protocol used?
For real-time communication between
client
and
server
View source
What does CRUD stand for?
Create
,
Retrieve
,
Update
,
Delete
View source
How does REST relate to CRUD operations?
It maps CRUD to
database
functions
View source
What SQL command corresponds to the POST method in REST?
INSERT
View source
What SQL command corresponds to the GET method in REST?
SELECT
View source
What SQL command corresponds to the DELETE method in REST?
DELETE
View source
What SQL command corresponds to the PUT method in REST?
UPDATE
View source
What is JSON?
JavaScript
Object
Notation
for data formatting
View source
How does JSON compare to XML?
JSON is
easier
to read than XML
View source
What is XML?
Extensible
Markup
Language
for data encoding
View source
What is a key advantage of JSON?
Easy to
read
with less
code
View source
What is a key disadvantage of JSON?
Limited range of
data types
View source
What is a key advantage of XML?
Greater
flexibility
in
data types
View source
What is a key disadvantage of XML?
Harder to
read
and requires more
code
View source
What are the principles of the cl
ient-s
erver model?
Sender
and
receiver
roles
Client makes requests to the server
Server responds to client requests
Provides requested services
View source
What is the role of APIs in the client-server model?
Defines interaction between programs
Composed of standardized
subroutines
Customizable for program interfaces
View source
What is the function of the Websocket protocol in APIs?
Creates a connection between
client
and
server
Allows
simultaneous
data exchange
Enables
real-time
collaboration
View source
What is REST and its significance in networked applications?
Design methodology for database applications
Uses
HTTP
for
CRUD
operations
Efficient for implementing applications over networks
View source