Summary: | 碩士 === 淡江大學 === 資訊工程學系 === 84 === WWW(World Wide Web)全球資訊網系統是目前Internet上相容性最高且
最具潛力的資訊供應系統。其早先由瑞士歐洲高能實驗室(CERN)開發;
其主要特性為以Internet為基礎,使用超鏈結(HyperLink)架構,及多
媒體(Hypermedia)形式的資料內容。透過超媒體超鏈結的主從架構(
Client/ Server),並藉著俗稱URL(Uniform Resource Location)的資
源定位器,指明文件在Internet上的位址與取得方式,而得以將分散在各
地的資源整合,形成一個超大型的資料庫。 目前WWW除接受一般文
字形態的檔案外,多半採用HTML(HyperText Markup Language)超文字
編撰語言來表達文件的內容。其主要運用資訊標籤(Information Tags)
的觀念,即在傳輸中的每項資料前面,加上屬性標籤。接收端使用者的瀏
覽器,則根據資訊標籤的屬性將資料正確地呈現出來。 WWW瀏覽器(
Browser)為使用者暢遊全球資訊網的主要工具,目前已有幾個常見的瀏
覽器,如Netscape,Mosaic,Cello等。以上所提皆為商業軟體,且其原
始程式碼並不對外公開。這使得有心致力發展WWW新構思的人,產生相當
的困擾。針對於此,本論文將探討WWW瀏覽器的架構及其基礎實作,以提
供他人作為WWW相關軟體的研發基礎。 本論文首先對中文操作介面
WWW瀏覽器的結構設計作系統性地介紹。在實作方面作業系統是採用
Windows 95/NT,並對於相關的主題作詳細的探討,如:如使用者端如何
利用Winsock連線至WWW伺服器,如何以HTTP(HyperText Transfer
Protocol)通訊協定向WWW伺服器索取資料,WWW伺服器所回應的檔頭資料
格式又具有何種意義,且對於取得的資料又應如何作管理,而得以其達到
最好的效能﹒﹒等等。
The World Wide Web(WWW), developed by CERN, is an Internet-based
system that uses hyperlink and multimedia to form its content.
By using hypermedia*s Client/Server structure and the uniform
resource locator(URL) to point out a documents address, it makes
distributed data integrated, and thus works as a big data base.
Besides using normal text format, WWW uses HyperText
MarkupLanguage to present a document. By using Information Tags(
add in front of data), the client application (browser) shows
the information correctly. The Browser*s major tools for
traveling around the information world are several commercial
products such as Netscape, Mosaic, Cello and so on, whose
sources are not open to the public. As a result, this causes a
problem for people who want to contribute an idea to a WWW
browser. Therefore, this thesis will discuss the WWW browser*s
structure and basic implementation for people to study. The
browser is implemented on Windows95/NT system. Also in the paper
has detail discussed about how to connect to the server by using
winsock, how to use HyperText Transfer Protocol(HTTP) to
retrieve data from a server, what*s the meaning of the file
header return form server, and how to manage granted information
in order to reach best performance.
|