+ All Categories
Home > Documents > Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client,...

Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client,...

Date post: 15-Jan-2016
Category:
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
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
Transcript
Page 1: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

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: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

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

Page 3: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

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

Watch this video

Page 4: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Client and server

Client Server

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

Page 5: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

What happens next?

Uniform resource locator (URL)

Page 6: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Establish a temporary connection

Client Server

Page 7: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Request the page

Client Server

Request

Page 8: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Send the page to the client

Client Server

Request

page

Page 9: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

page

Client displays the page

Client Server

Request

Page 10: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

page

Drop the connection

Client Server

Request

Page 11: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Data flow

Webserverprogram

Memory

Storage

Requestedpage

Webclientprogram

Memory

Display

Requestedpage

Client ServerRequest

Page

The Internet

Page 12: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

What if the requested page is not found?

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

Page 13: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Pages with links

Client Server 1

Server 2

1. Get first page

2. Get second page

Page 14: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

Mobile Web clients

Page 15: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

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: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

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: Skills: none Concepts: Web client (browser), Web server, network connection, URL, mobile client, protocol This work is licensed under a Creative Commons.

1. 2. 3. 4. 5.

Client Server

request

page

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


Recommended