20
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements

1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements

  • View
    231

  • Download
    4

Embed Size (px)

Citation preview

1

The World Wide Web

• Architectural Overview

• Static Web Documents

• Dynamic Web Documents

• HTTP – The HyperText Transfer Protocol

• Performance Enhancements

2

Architectural Overview

The parts of the Web model.

3

The Client Side

(a) A browser plug-in. (b) A helper application.

4

Typical Server Processing Module

1. Resolve the name of the Web page requested

2. Authenticate the client

3. Perform access control on the client

4. Perform access control on the Web page (.htaccess)

5. Check the cache

6. Fetch the requested page from disk

7. Determine the MIMI type to include in the response

8. Take care of miscellaneous odds and ends

9. Return the reply to the client

10.Make an entry in the server log

5

The Server Side

A multithreaded Web server with a front end and processing modules.

6

The Server Side (2)

A server farm.

7

The Server Side (3)

(a) Normal request-reply message sequence.

(b) Sequence when TCP handoff is used.

8

URLs – Uniform Resource Locaters

Some common URLs.

9

Statelessness and Cookies

Some examples of cookies.

10

Static Web Documents

•HTML – HyperText Markup Language

•Forms

•XML and XSL

11

XML and XSL

12

XML and XSL (2)

13

Dynamic Web Documents

Steps in processing the information from an HTML form.

14

Dynamic Web Documents (2)

A sample HTML page with embedded PHP.

15

Client-Side Dynamic Web Page Generation

(a) Server-side scripting with PHP.(b) Client-side scripting with JavaScript.

16

Client-Side Dynamic Web Page Generation (5)

The various ways to generate and display content.

17

HTTP Methods

The built-in HTTP request methods.

18

HTTP Methods (2)

The status code response groups.

19

Example HTTP Usage

The start of the output of www.ietf.org/rfc.html.

20

Caching

Hierarchical caching with three proxies.