s kills : none

17
Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License. Retrieving a Web page

Upload: seamus

Post on 22-Feb-2016

22 views

Category:

Documents


0 download

DESCRIPTION

Retrieving a Web page. S kills : none Concepts : Web client (browser), Web server, network connection, URL, mobile client, protocol. This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. . Where does this topic fit?. Internet concepts Applications - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: S kills : none

Skills: noneConcepts: Web client (browser), Web server, network connection, URL, mobile client, protocol

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Retrieving a Web page

Page 2: S kills : none

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

• Internet skills– Application development– Content creation– User skills

Page 3: S kills : none

The World Wide Web in plain English (2m 46s):http://www.commoncraft.com/world-wide-web

Watch this video

Page 4: S kills : none

Client and server

Client Server

Can you name a Web client program? If not, ask someone to explain this question to you.

Page 5: S kills : none

What happens next?

Uniform resource locator (URL)

Page 6: S kills : none

Establish a temporary connection

Client Server

Page 7: S kills : none

Request the page

Client Server

Request

Page 8: S kills : none

Send the page to the client

Client Server

Request

page

Page 9: S kills : none

page

Client displays the page

Client Server

Request

Page 10: S kills : none

page

Drop the connection

Client Server

Request

Page 11: S kills : none

Data flow

Webserverprogram

Memory

Storage

Requestedpage

Webclientprogram

Memory

Display

Requestedpage

Client ServerRequest

Page

The Internet

Page 12: S kills : none

What if the requested page is not found?

What does the “page not found” error message at www.google.com look like?

Page 13: S kills : none

Pages with links

Client Server 1

Server 2

1. Get first page

2. Get second page

Page 14: S kills : none

Mobile Web clients

Page 15: S kills : none

1. Establish a temporary connection between the client and server 2. Client sends the request to the server3. Server returns the requested page or an error message4. Client displays whatever the server returns5. Disconnect – drop the connection

Client Server

request

page

Summary: retrieving a Web page

Page 16: S kills : none

1. What happens if the user accidentally misspells the URL?

2. Can a server be handling requests from more than one client at a time? Answer yes or no then explain your answer.

3. If a Web page contains a link to another page, must both pages be stored on the same server? Answer yes or no then explain your answer.

4. If a Web page contains a link to another page, may both pages be stored on the same server? Answer yes or no then explain your answer.

5. Do the terms client and server refer to hardware, software or both? Explain your answer.

6. At least two programs must be in your computer’s memory while you are surfing the Web – which programs?

7. What is in memory beside those programs while you are looking at a Web page on the screen?

Self-study questions

Page 17: S kills : none

1. 2. 3. 4. 5.

Client Server

request

page

Without looking back, do you recall the steps in retrieving a Web page?