170 likes | 259 Views
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
E N D
Retrieving a Web page 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.
Where does this topic fit? • Internet concepts • Applications • Technology • Implications • Internet skills • Application development • Content creation • User skills
Watch this video The World Wide Web in plain English (2m 46s): http://www.commoncraft.com/world-wide-web
Client and server Server Client
Uniform resource locator (URL) What happens next?
Establish a temporary connection Server Client
Request the page Request Server Client
Send the page to the client Request Server page Client
Client displays the page Request Server page Client
Drop the connection Request Server page Client
Data flow Server Client Request Web client program Web server program Page Memory Memory Requested page Requested page The Internet Display Storage
What if the requested page is not found? What does the CSUDH error message look like?
Pages with links 1. Get first page Server 1 2. Get second page Client Server 2
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 – drop the connection Summary: retrieving a Web page request page Server Client
Self-study questions What happens if the user accidentally misspells the URL? Can a server be handling requests from more than one client at a time? Answer yes or no then explain your answer. 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. 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. Do the terms client and server refer to hardware, software or both? Explain your answer. At least two programs must be in your computer’s memory while you are surfing the Web – which programs? What is in memory beside those programs while you are looking at a Web page on the screen?
1. 2. 3. 4. 5. request page Server Client Without looking back, do you recall the steps in retrieving a Web page?