The Application Layer Chapter 7 7.3. Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
DT228/3 Web Development WWW and Client server model.
Project 1 Introduction to HTML.
CSC 450/550 Part 6: The Application Layer Example: The World Wide Web.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
DNS – HTTP – DHTML - CSS ICW Lecture 5 Hasan Qunoo.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
The World Wide Web By: Brittney Hardin, Carlos Smith, and David Wilkins.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
INTRODUCTION TO WEB DATABASE PROGRAMMING
IT 210 The Internet & World Wide Web introduction.
Computer Concepts 2014 Chapter 7 The Web and .
HTTP; The World Wide Web Protocol
CNIT 132 Intermediate HTML and CSS Course Overview.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
SMUCSE 4344 application layer. SMUCSE 4344 application vs. application-layer protocols application-layer protocol is just one piece –how the end hosts.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
OWL Jan How Websites Work. “The Internet” vs. “The Web”?
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
1 Welcome to CSC 301 Web Programming Charles Frank.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
The Web and Web Services Jim Graham NR 621 Spring 2009.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Operating Systems Lesson 12. HTTP vs HTML HTML: hypertext markup language ◦ Definitions of tags that are added to Web documents to control their appearance.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
The Transport Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Berkeley Sockets The socket primitives for TCP.. PortProtocol Use 21 FTP File transfer 23 Telnet Remote login 25 SMTP 69 TFTP Trivial File Transfer.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
National College of Science & Information Technology.
The Application Layer DNS – The Domain Name System The DNS Name Space Resource Records Name Servers
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Technologies Computing Science Thompson Rivers University
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Application Layer RIS 251 Dr. ir. S.S. Msanjila.
Project 1 Introduction to HTML.
Chapter 27 WWW and HTTP.
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Web Technologies Computing Science Thompson Rivers University
Presentation transcript:

The Application Layer Chapter 7 7.3

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The World Wide Web a)Architectural overview b)Static web pages c)Dynamic web pages, web applications d)The hypertext transfer protocol e)The mobile web f)Web search

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (1) a)Architecture of the Web.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (2) a)Three questions had to be answered before a selected page could be displayed: b)What is the page called? c)Where is the page located? d)How can the page be accessed?

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (3) a)Steps that occur when link is selected: b)Browser determines the URL c)Browser asks DNS for the IP address of the server d)DNS replies e)The browser makes a TCP connection f)Sends HTTP request for the page g)Server sends the page as HTTP response h)Browser fetches other URLs as needed i)The browser displays the page j)The TCP connections are released

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (4) a)Some common URL schemes.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (5) a)(a) A browser plug-in. (b) A helper application.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (6) a)Steps server performs in main loop b)Accept a TCP connection from client c)Get path to page, name of file requested. d)Get the file (from disk). e)Send contents of the file to the client. f)Release the TCP connection.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (7) a)A multithreaded Web server with a front end and processing modules.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (8) a)A processing module performs a series of steps: b)Resolve name of Web page requested. c)Perform access control on the Web page. d)Check the cache. e)Fetch requested page from disk or run program f)Determine the rest of the response g)Return the response to the client. h)Make an entry in the server log.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Architectural Overview (9) a)Some examples of cookies

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (1) a)The HTML for a sample Web page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (2) a)The formatted page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (3) a)Some differences between HTML versions.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (4) a)The HTML for an order form.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Static Web Pages (5) a)The formatted page.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (1) a)Dynamic pages

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (2) a)(a) A Web page containing a form. (b) A PHP script for handling the output of the form. (c) Output from the PHP script when the inputs are ‘‘Barbara’’ and ‘‘32’’, respectively. (a) (b) (c)

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (3) a)Use of JavaScript for processing a form.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (4) (a)Server-side scripting with PHP. (b)Client-side scripting withJavaScript.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (5) a)AJAX Technologies b)HTML and CSS: present information as pages. c)DOM: change parts of pages while they are viewed. d)XML: let programs exchange data with the server. e)An asynchronous way to send and retrieve XML data. f)JavaScript as a language to bind all this together.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (6) a)The DOM tree for the HTML in Fig. 7-30(a).

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (7) a)A simple XML document.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 Dynamic Web Pages, Web Applications (8) a)Various technologies used to generate dynamic pages.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (1) a)HTTP with (a) multiple connections and sequential requests. b)(b) A persistent connection and sequential requests. c)(c) A persistent connection and pipelined requests.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (2) a)The built-in HTTP request methods.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (3) a)The status code response groups

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (4) a)Some HTTP message headers....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (5) a)Some HTTP message headers....

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The HyperText Transfer Protocol (6) a)HTTP caching.

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (1) a)Difficulties for mobile phones browsing the web b) Relatively small screens c) Limited input capabilities, lengthy input. d) Network bandwidth is limited e) Connectivity may be intermittent. f) Computing power is limited

Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Mobile Web (2) a)The XHTML Basic modules and tags.