CLIENT-SERVER MODEL

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

Client-Server Model

An architecture where clients request services and servers provide responses.

2
New cards

Agenda of Client-Server Model

Discuss client-server architecture, scripting (client-side & server-side), communication between client & server, and one/two/three-tier models.

3
New cards

HTTP (Hypertext Transfer Protocol)

A stateless protocol for transferring information on intranets and the World Wide Web.

4
New cards

HTTPS

Secure version of HTTP, adds encryption for safe data transfer.

5
New cards

HTTP Request/Response

Standard communication between client and server where the client sends a request and server provides a response.

6
New cards

Client

An entity (browser, spider, or user agent) that makes an HTTP request to a server.

7
New cards

Server

Stores information, provides resources, and sends HTTP responses to clients.

8
New cards

Resources

Files or data provided by the server, accessed via URLs (Uniform Resource Locator).

9
New cards

Example of URL

http://www.tamk.fi/~jack/document.doc

10
New cards

HTTP Methods

Define actions on resources; most common is GET.

11
New cards

HTTP GET

Method where the client requests a representation of a resource from the server.

12
New cards

Steps of HTTP GET

1) Open connection 2) Send request (GET /path/file) 3) Read response.

13
New cards

Browser Role in GET

Creates HTTP request automatically when user opens a URL; includes info like user agent.

14
New cards

Example GET Request

GET / HTTP/1.1 Host: www.tamk.fi User-Agent: Mozilla/5.0

15
New cards

HTTP Response

Contains (1) header information and (2) resource itself.

16
New cards

Example Response

HTTP/1.1 200 OK + headers (date, server, content-length, content-type) + HTML resource.

17
New cards

HTTP Headers

Metadata in response (e.g., date, server type, content length, content type).

18
New cards

Client-Side Techniques

Executed on browser/plugins (e.g., Flash, JavaScript, Applets).

19
New cards

Server-Side Techniques

Executed on the server (e.g., PHP, Java EE) often using databases like MySQL.

20
New cards

Web Application Architecture

Works on client/server model where both client and server share processing responsibilities.

21
New cards

Client-Server Architecture

Network setup where many clients request/receive services from a server.

22
New cards

2-Tier Architecture

Client is the first tier, database server is the second tier.

23
New cards

3-Tier Architecture

Client is first tier, application server is second tier, database server is third tier.