Presentation is loading. Please wait.

Presentation is loading. Please wait.

ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 1 Electronic Commerce: Information Distribution and Messaging.

Similar presentations


Presentation on theme: "ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 1 Electronic Commerce: Information Distribution and Messaging."— Presentation transcript:

1 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 1 Electronic Commerce: Information Distribution and Messaging

2 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 2 World Wide Web Developed at CERN (European Laboratory for Particle Physics) Developed at CERN (European Laboratory for Particle Physics) Purpose was to share multimedia documents across computers in a seamless fashion. Purpose was to share multimedia documents across computers in a seamless fashion. Tim Berner-Lee proposed a system architecture where servers will manage the document and clients running on remote machines will access and render these documents. Tim Berner-Lee proposed a system architecture where servers will manage the document and clients running on remote machines will access and render these documents. The system proposed HyperText Markup Language for writing the documents. The HTML documents could specify links to other documents, using HyperText mechanism, by embedding their URLs. The system proposed HyperText Markup Language for writing the documents. The HTML documents could specify links to other documents, using HyperText mechanism, by embedding their URLs. Hyper Text Transfer Protocol was proposed as the protocol among clients and servers. Hyper Text Transfer Protocol was proposed as the protocol among clients and servers.

3 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 3 World Wide Web System

4 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 4 World Wide Web: URL Uniform Resource Locator – specifies uniquely each publicly available document on the Internet. Uniform Resource Locator – specifies uniquely each publicly available document on the Internet. URL Consists of three parts- URL Consists of three parts- –First component specifies protocol { delimited by // ) –Second component domain name of the machine (between // and /) –Last component the file/document name ( from / till : or End of string) Examples Examples –http://icrc.iiml.ac.in/index.htm http://icrc.iiml.ac.in/index.htm Protocol name- http Protocol name- http Domain/Machine name- icrc.iiml.ac.in Domain/Machine name- icrc.iiml.ac.in File name- index.htm File name- index.htm

5 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 5 World Wide Web: HTTP Hyper Text Transfer Protocol A set of rules that World Wide Web Clients and Servers use for communicating with each other A set of rules that World Wide Web Clients and Servers use for communicating with each other It is a connection less protocol It is a connection less protocol Client contacts a server, opens a connection and submits request. The server processes and responds to the request and closes connection. Client contacts a server, opens a connection and submits request. The server processes and responds to the request and closes connection. Each request is treated as independent of previous requests. It is a state-less protocol Each request is treated as independent of previous requests. It is a state-less protocol The protocol has three commonly used request methods – Get, Head and Post The protocol has three commonly used request methods – Get, Head and Post

6 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 6 HTTP: Client Server Interaction

7 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 7 HTTP: Get and Post Headers Get Request Header Get Request Header GET / HTTP/1.1 User-Agent:Mozilla/4.75 Referer:http://icrc.iiml.ac.in/ http://icrc.iiml.ac.in/ Accept:image/gig, image/jpeg, image/png, */* Accept-Language:en Accept-Charset:utf-8, iso-8859-1 Post Request Header Post Request Header POST/myprog.cgiHTTP/1.1 User-Agent:Mozilla/4.75 Referer:http://icrc.iiml.ac.in/ http://icrc.iiml.ac.in/ Accept:image/gig, image/jpeg, image/png, */* Accept-Language:en Accept-Charset:utf-8, iso-8859-1 Content-type:application/x-www-form-urlencoded Content-length:27 -----Carriage Return ------- username=myuserid&name=G+I+JOE

8 ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 8 World Wide Web Servers CERN HTTPd CERN HTTPd NCSA HTTPd NCSA HTTPd Apache HTTPd Apache HTTPd Today Web server provide following four functions Today Web server provide following four functions –Serving the static web pages –Serving the web pages generated by running gateway programs –Controlling the access to the server –Logging server access and error statistics


Download ppt "ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 1 Electronic Commerce: Information Distribution and Messaging."

Similar presentations


Ads by Google