Web Technologies Interactive Responsiveness Function Hypertext Web E-Publishing Simple Response Web Fill-in Forms Object Web « Full-Blown » Client/Server.

Slides:



Advertisements
Similar presentations
Hypertext Transfer PROTOCOL ----HTTP Sen Wang CSE5232 Network Programming.
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.
Web basics HTTP – – URI/L/Ns – HTML –
1 HTTP – HyperText Transfer Protocol Part 1. 2 Common Protocols In order for two remote machines to “ understand ” each other they should –‘‘ speak the.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
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
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
HTTP Presented By: Holly Mortinson Amy Drout Kyle Balmer & Matt Conklin.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
1 The HyperText Transfer Protocol: HTTP Nick Smith Stuart Alley Tara Tjaden.
Definitions, Definitions, Definitions Lead to Understanding.
HTTP Overview Vijayan Sugumaran School of Business Administration Oakland University.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
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.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Comp2513 Forms and CGI Server Applications Daniel L. Silver, Ph.D.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
FTP (File Transfer Protocol) & Telnet
HyperText Transfer Protocol (HTTP).  HTTP is the protocol that supports communication between web browsers and web servers.  A “Web Server” is a HTTP.
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.
Application Layer 2 Figures from Kurose and Ross
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
IT Engineering Instructor: Rezvan Shiravi
WebServer A Web server is a program that, using the client/server model and the World Wide Web's Hypertext Transfer Protocol (HTTP), serves the files that.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 7: HTTP and CGI Fundamentals of Web Programming.
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)
1 Welcome to CSC 301 Web Programming Charles Frank.
Web Client-Server Server Client Hypertext link TCP port 80.
Web Database Programming Week 7 Session Management & Authentication.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
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.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
Web Technologies Lecture 1 The Internet and HTTP.
Distributed systems: an architectural view. Once upon a time… The Mainframe Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb.
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.
CS 6401 The World Wide Web Outline Background Structure Protocols.
RESTful Web Services What is RESTful?
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Computer Networks with Internet Technology William Stallings Chapter 04 Modern Applications 4.1 Web Access - HTTP.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
INTRODUCTION Dr Mohd Soperi Mohd Zahid Semester /16.
Web Server Design Week 1 Old Dominion University Department of Computer Science CS 495/595 Spring 2006 Michael L. Nelson 1/09/06.
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking HTTP 0.
HTTP Protocol Amanda Burrows. HTTP Protocol The HTTP protocol is used to send HTML documents through the Internet. The HTTP protocol sends the HTML documents.
National College of Science & Information Technology.
WWW and HTTP King Fahd University of Petroleum & Minerals
Hypertext Transport Protocol
Chapter 27 WWW and HTTP.
EE 122: HyperText Transfer Protocol (HTTP)
Presentation transcript:

Web Technologies Interactive Responsiveness Function Hypertext Web E-Publishing Simple Response Web Fill-in Forms Object Web « Full-Blown » Client/Server JavaBeans/Applets ActiveX Controls Application Servers and OTMs ORB-Based interactions via CORBA or DCOM Shippable Places Object based documents: XML, DOM and XSL Dynamic HTML Scripts Cookies/Sessions Active Server Pages (ASPs) CORBA plug-ins (WAI) Push WebObjects Servlets Forms CGI Tables ISAPI NSAPI URL-Based File Server

Web Application Servers Application HTTP Over TCP/IP HTML Documents CGI Server Web Browser + Java Web Browser + HTML & Forms ClientMiddleware Internet Server

HTTP Request Syntax [ : ] … [ : ] blank line [entity body] HTTP Request Web Example GET /path/file.html HTTP/1.0 Accept: text/html Accept: audio/x User-agent: MacWeb request line request header fields entity body request line request header fields

HTTP Request Syntax [ ] [ : ] … [ : ] blank line [entity body] HTTP Response Web Example HTTP/ OK Server: Apache/1.1 Mime_version: 1.0 Content_type: text/html Content_length: 2000 …. response header header fields entity body response header header fields entity body (i.e html doc)

URI, URN & URL Uniform Resource Identifier (URI) F Uniform Resource Name (URN) and Uniform Resource Locator (URL) URN are meant to be persistent URL syntax: Target ResourceArgumentsService AddressIdentification Protocol Scheme

Parameters passing With cookies in header With GET method u Through URLs that link u Through forms With POST method u Only through forms

CGI-Model ClientServer Web BrowserWeb ServerEnvironment (variables) CGI Programm Submit N

Interaction problem HTTP is connectionless F Stateless (lacking persistence) F No out-of-the-box user tracking Replacement solution: u Cookies u HTTP-Authentication u Hidden fields

User tracking Authentication: password + user-id F HTTP-AUTH F Hidden field: token to be generated F Cookie: idem Session id with expiration time Problems F Password hidden F Session ending (clearing identification)

Support Apache included u Apache cookie (!) validity: browser session u UNIQUE_ID Apache environment variable PHP support u setCookie(« name », « value »,expiration)

Definitions I Message F The basic unit of HTTP communication, consisting of structured sequence of octets matching the HTTP syntax and transmitted via the connection. Request F An HTTP request message. Response F An HTTP response message. Resource F A netword data object or service that can be identified by a URI. Resources may be available in multiple representations (eg. Multiple languages, data formats, size, resolutions) or vary in other ways

Definitions II Entity F The information transferred as the payload of a request or response. An entity consists of metainformation in the form of entity-header fields and content in the form of an entity-body. Representation F An entity included with a response that is subject to content negotiation. There may exist multiple representation associated with a particular response status. Content Negociation F The mechanism for selecting the appropriate representation when servicing a request. The representation of entitites in any response can be negociated (including error responses).

Definitions III Variant F A resource may have one, or more than on, representation(s) associated with it at any given instant. Each of these representations is termed as ‘variant’. Use of the term ‘variant’ does not necessarily imply that the resource is subject to content negociation. Client F A program that establishes connections for the purpose of sending requests. User agent F The client which initiates a request. These are often browsers, editors, spiders (web-traversing robots), or other end user tools

Definitions IV Server F An application program that accepts connections in order to service requests by sending back responses. Any given program may be capable of being both a client and a server; these terms refer only to the role being performed by the program for a particular connection, rather than to the program’s capabilities in general. Proxy F An intermediary program which acts as both a server and a client for the purpose of making requests on behalf of other clients. Requests are serviced internally or by passing them on, with possible translation, to other servers. A proxy must implement both the client and server requirements.

Definitions V Cache F A program’s local store of response messages and the subsystem that controls its message storage, retrieval, and deletion. A cache stores cachable responses in order to reduce the response time and network bandwith consumption on future, equivalent requests. Any client or server may include a cache, though a cache cannot by used by a server that is acting as a tunnel. Cachable F A response is cachable if a cache is allowed to store a copy of the response message for use in answering subsequent requests (see rules in ref.). Even if a resource is cachable, there may be additional constraints on whether a cache can use the cached copy for a particular request.

Definitions VI Gateway F A server which acts as an intermediary for some other server. Unlike a proxy, a gateway receives requests as if it were the origin server for the requested resource; the requesting client may not be aware that it is communicating with a gateway. Tunnel F An intermediary program which is acting as a blind relay between two connections. Once active, a tunnel is not considered a party to the HTTP communication, though the tunnel may have been initiated by an HTTP request. The tunnel ceases to exists when both ends of the relay connections are closed.