Internet Fundamentals: CS 299 - Web Programming and Design
Internet Fundamentals: CS 299 - Web Programming and Design
Internet Fundamentals: CS 299 - Web Programming and Design
Request document A
document A
Client Server
Connection
Acknowledgment
TCP, UDP
IP (IPv4, IPv6)
Main functionalities:
Server waits for connect requests
When a connection request is received, the server
creates a new process to handle this connection
The new process establishes the TCP connection and
waits for HTTP requests
The new process invokes software that maps the
requested URL to a resource on the server
If the resource is a file, creates an HTTP response
that contains the file in the body of the response
message
If the resource is a program, runs the program, and
returns the output
CS 299 Web Programming and Design 11
Static Web: HTML/XHTML, CSS
HTML, XHTML
CSS
Simple client-side interactivity (JavaScript)
Simple server-side interactivity (CGI/Perl)