Web Technology Management Lecture III

469 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
469
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Web Technology Management Lecture III

  1. 1. The Principles of Web TechnologyManagement<br />http://purl.org/net/wtm<br />sopek@makolab.com<br />Principia Webica<br />
  2. 2. HTTP protocol, CGIweb application objects &<br />Principles of Web Design<br />HTTP<br />
  3. 3. HTTP– RFC 2616http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol<br />The Hypertext Transfer Protocol (HTTP) is a networking protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web.<br />HTTP/0.9 — 1990, HTTP/1.0 —May 1996, HTTP/1.1 — June 1999 <br />The most important current document – RFC 2616 – defines HTTP/1.1 - http://tools.ietf.org/html/rfc2616<br />
  4. 4. HTTP– mainfeaturesHTTP is …<br />applicationLayerprotocol<br />a Request-ResponseprotocolintheClient-Servercomputing model:<br />Clients:UsersAgents – UA(browsers, crawlers, robots, spiders, proxies etc)<br />Servers: Web Servers (includingproxies)<br />statelessprotocol(each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses)<br />resource(network data objects) based. Resources areidentified by URL (Uniform ResourceLocators)<br />
  5. 5. HTTP– mainfeaturesHTTP basicoperational model<br />
  6. 6. HTTP– mainfeaturesIX HTTP methods (verbs)<br />HEAD<br />GET<br />POST<br />PUT<br />DELETE<br />TRACE<br />OPTIONS<br />CONNECT<br />PATCH<br />Safemethods<br />Idempotentmethods<br />
  7. 7. HTTP– mainfeaturesNaked HTTP illustrated<br />
  8. 8. CGI – CommonGatewayInterfaceTalk to yourserver<br />
  9. 9. CGI – CommonGatewayInterfaceTalk to yourserver<br />POST /tf.asp HTTP/1.1Host: www.ehandel.plContent-Type: application/x-www-form-urlencodedContent-Length: 14T3=z&B1=Submit<br />
  10. 10. „Objects” of the Web ApplicationsFundamentalstructures<br />Request<br />Response<br />Session<br />Application<br />Server<br />
  11. 11. Server-sidesoftwareHarder part …<br />Server-sidetechnologies and theirlanguages<br />Pure CGI (any)<br />PHP (php)<br />ASP (VB,Jscript, Python)<br />ASP.NET (any)<br />JSP (Java)<br />And …<br />CFM<br />Ruby on Rails …<br />
  12. 12. Netcraftsurvey in March 2011.<br />[edit]<br />Server-sidesoftwareMost importantservers<br />Server-sidesolutions<br />Apache<br />IIS<br />Nginx<br />GWS<br />lighttpd<br />http://en.wikipedia.org/wiki/Web_server<br />
  13. 13. Client-sidesoftwareItused to be easier part …<br />JavaScript (never to confusewith Java)<br />VBScript (forgetit !)<br />AJAX (JavaScript + XML)<br />Flash/Flex<br />SliverLight<br />
  14. 14. Web software design principlesSir Tim-Berners-Leeagain …<br />Simlicity<br />Modular Design<br />Tolerance<br />Decentralization<br />Test of Independent Invention<br />Principle of Least Power<br />Studythem: http://www.w3.org/DesignIssues/Principles.html<br />
  15. 15. NEXT …<br />Yourownvirtualserver !<br />
  16. 16. Lab work6.<br />Remeber: http://purl.org/net/wtm<br />Explore the web for topics:<br />Find out more about Stateless nature of HTTP protocol<br />What is proxy? How it works ?<br />Find out more about HTTP methods: TRACE, OPTIONS, PATCH<br />Practice with manual execution of HTTP commands<br />Find out more about classical CGI<br />Find out more about Request, Response, Session, Application, Server objects of the Web programming<br />Use Netcraft (www.netcraft.com) to find out interesting statistics about the Web.<br />Read http://www.w3.org/DesignIssues/Principles.html and find out more about the principles in the other sources<br />3 pages per topic<br />

×