Basic WWW Technologies Mathematic Background(Chap 2.ppt
《Basic WWW Technologies Mathematic Background(Chap 2.ppt》由会员分享,可在线阅读,更多相关《Basic WWW Technologies Mathematic Background(Chap 2.ppt(50页珍藏版)》请在麦多课文档分享上搜索。
1、Basic WWW Technologies & Mathematic Background (Chap 2 & 1, Baldi),Wen-Hsiang Lu (盧文祥) Department of Computer Science and Information Engineering, National Cheng Kung University 2006/10/5,2,World Wide Web,The World Wide Web (Web) is a network of information resources. The Web relies on three mechani
2、sms to make these resources available: A uniform naming scheme for locating resources on the web (e.g., URIs). Protocols, for access to named resources over the web (e.g., HTTP). Hypertext, for easy navigation among resources (e.g., HTML).,3,Internet vs. Web,Internet: Internet is a more general term
3、 Includes physical aspect of underlying networks and mechanisms such as email, FTP, HTTP Web: Associated with information stored on the Internet Refers to a broader class of networks, i.e. Web of English Literature Both Internet and web are networks,4,Essential Components of WWW,Resources (HTML, Hyp
4、erText Markup Language) Conceptual mappings to concrete or abstract entities, which do not change in the short term Taggin support for structuring and laying out documents Resource identifiers (hyperlinks): Strings of characters represent generalized addresses that may contain instructions for acces
5、sing the identified resource http:/ is used to identify the Google homepage Transfer protocols (HTTP, HyperText Transmission Protocol) Conventions that regulate the communication between a browser (web user agent) and a server,5,Standard Generalized Markup Language (SGML),Based on GML (generalized m
6、arkup language), developed by IBM in the 1960s An international standard (ISO 8879:1986) defines how descriptive markup should be embedded in a document Markup: extra information characterizing structure of a document Gave birth to the extensible markup language (XML), W3C recommendation in 1998,6,S
7、GML Components,SGML documents have three parts: Declaration: specifies which characters and delimiters may appear in the application DTD (Document Type Definition)/ style sheet: defines the syntax of markup constructs Document instance: actual text (with the tag) of the documents More info could be
8、found: http:/www.W3.Org/markup/SGML,7,HTML Background,HTML was originally developed by Tim Berners-Lee while at CERN, and popularized by the Mosaic browser developed at NCSA. The Web depends on Web page authors and vendors sharing the same conventions for HTML. This has motivated joint work on speci
9、fications for HTML. HTML standards are organized by W3C : http:/www.w3.org/MarkUp/,8,HTML Functionalities,HTML gives authors the means to: Publish online documents with headings, text, tables, lists, photos, etc Include spread-sheets, video clips, sound clips, and other applications directly in thei
10、r documents Link information via hypertext links, at the click of a button Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products, etc,9,Sample Webpage,10,Sample Webpage: HTML Structure, The title of the webpageBody
11、 of the webpage ,11,HTML Structure,An HTML document is divided into a head section (here, between and ) and a body (here, between and ) The title of the document appears in the head (along with other information about the document) The content of the document appears in the body. The body in this ex
12、ample contains just one paragraph, marked up with ,12,HTML Hyperlink,alumni A link is a connection from one Web resource to another It has two ends, called anchors, and a direction Starts at the “source“ anchor and points to the “destination“ anchor, which may be any Web resource (e.g., an image, a
13、video clip, a sound bite, a program, an HTML document),13,Resource Identifiers,Uniform Resource Identifiers (URI): include two overlapping subsets of identifiers URL: Uniform Resource Locators URN: Uniform Resource Names,14,Introduction to URIs,Every resource available on the Web has an address that
14、 may be encoded by a URI URIs typically consist of three pieces: The naming scheme of the mechanism used to access the resource. (HTTP, FTP) The name of the machine hosting the resource The name of the resource itself, given as a path,15,URI Example,http:/www.w3.org/TR There is a document available
15、via the HTTP protocol Residing on the machines hosting www.w3.org Accessible via the path “/TR“,16,Protocols,Describe how messages are encoded and exchanged Different Layering Architectures ISO OSI 7-Layer Architecture TCP/IP 4-Layer Architecture,17,ISO OSI Layering Architecture,18,TCP/IP Layering A
16、rchitecture,19,TCP/IP Layering Architecture,A simplified model, provides the end-to-end reliable connection The network layer Hosts drop packages into this layer, layer routes towards destination Only promise “Try my best” The transport layer Reliable byte-oriented stream,20,Hypertext Transfer Proto
17、col (HTTP),A connection-oriented protocol (TCP) used to carry WWW traffic between a browser and a server One of the transport layer protocol supported by Internet HTTP communication is established via a TCP connection and server port 80,21,GET Method in HTTP,22,Form,23,Form, 1 Median Eminence (可複選):
18、 1.分泌 2.一般 3.王錫崗.垂體 其他: ,24,CGI processing,25,CGI (Common Gateway Interface),Web Browser,Web Server,Database,CGI,Service Request,Service Processing,Output,Service Response,26,HTTP Request Processing,27,GNU Wget,28,CGI: Get query search-results from Google using Wget,29,Homework (1),Meta-search engin
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BASICWWWTECHNOLOGIESMATHEMATICBACKGROUNDCHAP2PPT

链接地址:http://www.mydoc123.com/p-378855.html