World Wide Web (WWW) A Distributed Document- Based System Group E Ricky Tong (D-A0-1611) Eddy Leong (D-A0-1623) Dick Lei (D-A0-1658)

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Advertisements

 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
Project 1 Introduction to HTML.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
Internet…issues Managing the Internet
Distributed Document-Based Systems
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
How the web works: HTTP and CGI explained
Introduction to Web Interface Technology (CSE2030)
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Web, HTTP and Web Caching
Definitions, Definitions, Definitions Lead to Understanding.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
Hypertext Transport Protocol CS Dick Steflik.
 What is it ? What is it ?  URI,URN,URL URI,URN,URL  HTTP – methods HTTP – methods  HTTP Request Packets HTTP Request Packets  HTTP Request Headers.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Human-Computer Interface Course 5. ISPs and Internet connection.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
FTP (File Transfer Protocol) & Telnet
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
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.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
COMP 655: Distributed/Operating Systems Summer 2011 Dr. Chunbo Chu Week 10: Web 10/6/20151Distributed Systems - COMP 655.
Chapter 4 Networking and the Internet. © 2005 Pearson Addison-Wesley. All rights reserved 4-2 Chapter 4: Networking and the Internet 4.1 Network Fundamentals.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
1 Welcome to CSC 301 Web Programming Charles Frank.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
Web Technologies Interactive Responsiveness Function Hypertext Web E-Publishing Simple Response Web Fill-in Forms Object Web « Full-Blown » Client/Server.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
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.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
HTTP How the Internet servers and clients communicate.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
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.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
Introduction to the World Wide Web & Internet CIS 101.
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
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.
Free Powerpoint Templates Page 1 Free Powerpoint Templates CHAPTER 1 LAB 1.1 Web Server.
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.
WWW and HTTP King Fahd University of Petroleum & Minerals
HTTP – An overview.
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction Web Environments
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Distributed Systems - Comp 655
Web Page Concept and Design :
Presentation transcript:

World Wide Web (WWW) A Distributed Document- Based System Group E Ricky Tong (D-A0-1611) Eddy Leong (D-A0-1623) Dick Lei (D-A0-1658)

Schedule of Presentation Overview of World Wide Web Document Model HTML DOM XML Document Type MIME Architectural Overview Discussion Time

The World Wild Web The www is a document-based system It can be view as a huge distributed system consisting of millions of clients and servers for accessing linked documents Sever maintain collections of documents, while clients provide users an easy-to-use interface for presenting and accessing those documents

Overview of World Wide Web Documents are stored as files in the servers. Servers receive request and files are sent to the clients. The client usually interacts with the web server through a browser.

The overall organization of the Web

Document Model Some documents are represents are ASCII text files. Some are expressed as a collection of script that will run on the browser automatically Some contains references to other document such as: hyperlink. The new document may replace the current one or open in a new browser

HTML Most web document are expressed in HTML. An HTML file contains small markup tags telling the Web browser how to display the page. An HTML file must has.htm or.html extension. Create the HTML file by simple text editor

Example of HTML Title of page This is my first homepage. This text is bold

Document Object Model DOM provides a standard programming interface to parsed web documents. The interface is specified in CORBA IDL. The interface is used by the scripts embedded in a document. Scripts can be used to inspect and modify the document that they are part of.

XML (Extensible Markup Language) XML is a meta-markup language providing a format for describing structured data This facilitates more precise declarations of content and more meaningful search results across multiple platforms.

XML Example Hi you all

Other Document Types There are many types of documents besides HTML and XML: Audio:.mp3 Others:.pdf, etc Image :.gif and.jpeg

MIME (Multipurpose Internet Mail Extensions) It was originally developed to provide information on the content of a message body that was sent as part of . It is a specification for enhancing the capabilities of standard Internet . It offers a simple standardized way to represent and encode a wide variety of media types for transmission via Internet mail.

The 7 Content-types defined in MIME Text - represent textual information Image - transmit still images Audio - transmit audio or voice data Video - transmit video data or moving image data Message - encapsulate an entire RFC 822 format messages Multipart - combine several body parts of possibly different types & subtypes Application - transmit application or binary data

CGI (Common Gateway Interface) It is a standard for interfacing external applications with information servers. Such as HTTP or Web severs It is executed real time and give dynamic information.

The principle of using server- side CGI programs

Server-side script It is executed by the server when the document has been fetched locally. Client-side using JavaScript <!-- script code here --!> Server-Side Using ASP <% ' 'script code here ' %>

Client-side script Client-side script is just software designed to be run by the browser

Applet It is another method to pass precompiled programs to a client Applet is a Small Java program embedded in an HTML page. For security reasons applets cannot read or write data on client computer. The applet can only be executed if your browser supports Java.

Servlet Servlet is a precompiled program that is executed in the address space of the server. Servlet is Java technology's answer to CGI programming. The Web page is based on data submitted by the user. The data change frequently.

Architectural details of a client and server in the Web

HTTP Connections HTTP is a client-server protocol by which two machines can communicate over a TCP/IP connection. HTTP is the protocol used for document exchange in the World-Wide-Web. Everything that happens on the web happens over HTTP transactions.

HTTP Headers General Header Field (Use in both request and response messages) Request Header Fields (Use in request messages only) Response Header Fields (Used in response message only) Entity Header Fields (Use in both request and response messages, containing the information about the entity-body of the message)

Request Header Example GET /articles/news/today.asp HTTP/1.1 Accept: */* Accept-Language: en-us Connection: Keep-Alive Host: localhost Referer: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Accept-Encoding: gzip, deflate

Response Header Example HTTP/ OK Server: Microsoft-IIS/5.0 Date: Thu, 13 Jul :46:53 GMT Content-Length: 2291 Content-Type: text/html Set-Cookie: ASPSESSIONIDQQGGGNCG=LKLDFFKCINF LDMFHCBCBMFLJ; path=/ Cache-control: private

Web Server A Web server uses the client/server model and the WWW Hypertext Transfer Protocol Every computer on the Internet that contains a Web site must have a Web server program. Two leading Web servers are Apache the most widely-installed Web server, and Microsoft's Internet Information Server (IIS).

Apache Server

Processing HTTP Requests in Apache Server 1. Resolving the document reference to a local file name. 2. Client authentication. 3. Client access control. 4. Request access control. 5. MIME type determination of the response. 6. General phase for handling leftovers. 7. Transmission of the response. 8. Logging data on the processing of the request.

Server Cluster

The principle of TCP handoff

Scalable content-aware cluster of web servers

Uniform Resource Identifiers (URI) A URI (Uniform Resource Identifier) is the way to identify the points of content. The most common form of URI is the Web page address. A URI typically describes: The mechanism used to access the resource The specific computer that the resource is housed in The specific name of the resource (a file name) on the computer

Uniform Resource Locator (URL) A URL contains information on how and where to access a document.

Uniform Resource Name (URN) A URN is an Internet resource with a name that has persistent significance. A URN looks something like a Web page address or URL Example: urn:def://blue_laser Both URN and URL are types of a concept called the URI. The URN is still being developed by members of the Internet Engineering Task Force (IETF).

Web Distributed Authoring and Versioning (WebDAV) An extension to HTTP is called WebDAV WebDAV provides a simple means to lock a shared document, and to create, delete, copy, and move documents from remote Web servers. WebDAV supports a simple locking mechanism. There are two types of write locks, the exclusive write lock, and the shared write lock.

Web Proxy Caching Simply caching facility of Browser Web-proxy caching cache cover region or even country hierarchical caching.

Neighbor Proxy Caching

Server Replication Fault tolerance in the Web is mainly achieved through client-side caching and server replication. High availability in the Web is achieved through redundancy that makes use of generally available techniques in crucial services such as DNS.

Security Most of the security issues in the Web deal with setting up a secure channel between a client and server. The predominant approach for setting up a secure channel in the Web is to use the Secure Socket Layer (SSL) Transport Layer Security (TLS) an update of SSL.

The position of TLS in the Internet protocol stack

TLS with mutual authentication

The End