Professional Documents
Culture Documents
Contents
2
Web Developer Roadmap 2024
https://roadmap.sh/
3
Front-end
4
Back-end
5
Reasonable Questions
6
Web ≠ Internet
7
(A Very Brief) History of the Internet
8
The Internet
9
Internet Growth
10
Internet Growth (cont.)
11
(A Very Brief) History of the Web
12
History of the Web (cont.)
13
World Wide Web
14
Web Growth
15
Web Browsers
• Primary tasks:
• Convert web addresses (URL’s) to HTTP requests
• Communicate with web servers via HTTP
• Render (appropriately display) documents returned by
a server
16
Web Browsers - History
17
Hypertext Transport Protocol (HTTP)
18
HTTP
19
HTTP Request
20
HTTP Request
21
HTTP Request
• Request line
• GET /test.html HTTP/1.1
• POST /index.html HTTP/1.1
22
HTTP Request
• Request line
• GET /test.html HTTP/1.1
• POST /index.html HTTP/1.1
23
URI
24
URI
25
HTTP Response
26
HTTP Response
27
HTTP Response
• Status line
• Example: HTTP/1.1 200 OK
• Three space-separated parts:
• HTTP version
• status code
• reason phrase (intended for human use)
28
HTTP Response
• Status code
• Three-digit number
• First digit is class of the status code:
• 1=Informational
• 2=Success
• 3=Redirection (alternate URL is supplied)
• 4=Client Error
• 5=Server Error
• Other two digits provide additional information
• See http://www.w3.org/Protocols/rfc2616/rfc2616-
sec10.html
29
HTTP Response
30
HTTP Response
31
HTTP Request/Response Examples
Receive
Response
{ HTTP/1.1 200 OK
Date: Tue, 11 Oct 2022 20:30:49 GMT
…
32
Static vs. Dynamic pages
33
Web Clients
34
Web Servers
35
Web Servers
36
Web server/client
Client Server
37
Web server/client
Client Server
3. Store image
Cache
38
Web server/client
Client Server
Web
Browser I need that
image again
Server
Cache
39
Web server/client
Client Server
This…
Cache
40
Web server/client
Client Server
Web
Browser
Server
Get … or this
image
Cache
41
TRƯỜNG CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG
School of Information and Communication Technology
42