1 / 12

MIIS - 17

MIIS - 17. Introduction to the WWW & http * * http information from World Wide Web Programming with HTML & CGI by Ed Tittel, Mark Gaither, S. Hassinger, & Mike Erwin and Internet Agents Spiders, Wanderers, Brokers, and Bots by Fah-Chun Cheong. WWW. most graphical any point to any point

alec-nieves
Download Presentation

MIIS - 17

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MIIS - 17 Introduction to the WWW & http * * http information from World Wide Web Programming with HTML & CGI by Ed Tittel, Mark Gaither, S. Hassinger, & Mike Erwin and Internet Agents Spiders, Wanderers, Brokers, and Bots by Fah-Chun Cheong

  2. WWW • most graphical • any point to any point • graphics mixed with text • History • CERN - European particle physics lab • Tim Berners-Lee • NCSA - National Center for Supercomputing Applications • Marc Andreessen

  3. WWW uses • Museums • Newspapers • Magazines • Education • Government • Commerce • Individuals • Downside • lot of data • multiple connections required

  4. Basic concepts • hyperlinking • Concept • anchor text (or graphic) • url • scheme://user:password@host:port/url-path • protocol • user, password, host system • path, filename • absolute versus relative urls • HTML • structure not format • tabs

  5. http • TBL • generic, stateless object-oriented • application level • distributed • hypermedia • Object oriented • methods • extensions to basic http commands • associated with types of docs

  6. Stateless • neither client or server stores info about state of the other side of the connection • given program can be client or server

  7. http transaction • Connection • Request • Response • Close • More information • www.w3.org

  8. Request • Full Request • method SP URI SP http-Version CRLF • *(General header | Request header | Entity header) CRLF • [Entity-Body] • methods • get, head, post, put, delete, link, unlink • headers • date, forwarded, message-id, mime-ver • accept, authorization, from, if-modified

  9. Response • status line • http version SP status code SP explanation of response CRLF • *(General header | response head | Entity header) CRLF • [Entity-Body] • Classes of response codes • 1xx (Reserved for future) • 2xx (Successful) • 3xx (Further action required) • 4xx (Bad syntax in request) • 5xx (server failed on valid request)

  10. Web browser • Presents document • Virtual terminal • Acts like required client • gopher, ftp, wais, telnet • Lynx • Mosaic • Emacs • Etc.

  11. Web Server • Port 80 (by default) • Execute scripts (CGI) • NCSA • CERN

  12. Future • HTML enhancements • New tags, inline graphics, better tables, better forms, toolbars (frames), validation • dynamic html, style sheets • Secure transactions • shttp, & SSL • authenticity • confidentiality • Uniform resource naming • URN • ISBN

More Related