it skills: it concepts: web client (browser), web server, network connection, url, mobile client,...

18
IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to-peer application This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License. Retrieving a Web page

Post on 20-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

IT skills:

IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to-peer application

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

Retrieving a Web page

Page 2: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Where does this topic fit?

• Internet concepts– Applications– Technology– Implications

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

Page 3: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Client and server

Client Server

Page 4: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

What happens next?

Uniform resource locator (URL)

Page 5: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Establish a temporary connection

Client Server

Page 6: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Request the page

Client Server

Request

Page 7: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Send the page to the client

Client Server

Request

page

Page 8: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

page

Client displays the page

Client Server

Request

Page 9: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

page

Drop the connection

Client Server

Request

Page 10: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Data flow

Webserverprogram

Memory

Storage

Requestedpage

Webclientprogram

Memory

Display

Requestedpage

Client Server

Request

Page

The Internet

Page 11: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

What if the requested page is not found?

Page 12: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Pages with links

Client Server 1

Server 2

1. Get first page

2. Get second page

Page 13: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Mobile Web clients

Page 14: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Operating system

Client program

Memory in peer-to-peer applications

Server program

Page 15: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

1. Establish a temporary connection between the client and server

2. Client sends the request to the server

3. Server returns the requested page or an error message

4. Client displays whatever the server returns

5. Disconnect

Client Server

request

page

Summary: retrieving a Web page

Page 16: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

Questions

Page 17: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

1.

2.

3.

4.

5.

Client Server

request

page

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

Page 18: IT skills: IT concepts: Web client (browser), Web server, network connection, URL, mobile client, peer-to- peer application This work is licensed under

1. Does a URL show both the computer to connect to and the name of the file to retrieve or just the file name? Explain your answer.

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

3. Can one server be handling requests from more than one client at a time? Explain your answer.

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