Pages that point to other pages are said to use hypertext.
Hypertext 超文本
指向其他一些页面的页面被称为使用超文本。
Web pages can combine color desktop publishing, hypertext linking, interactive scripting, sound, video, and even virtual reality.
Combine 组合 publishing 出版
网页可以组合彩色桌面出版,超文本链接,交互脚本,声音,视频甚至虚拟现实。
When hypertext pages are mixed with other media, the result is called hypermedia.
mixed with 与。。。混合 hypermedia 多媒体
当超文本与其他媒体混合,其结果就称为多媒体。
Pages are viewed with a browser.
使用浏览器浏览页面。
The Server Sider 服务器端
@ Every Web site has a server process listening to TCP port 80 for incoming connections from clients (normally browsers).
Incoming 引入的
每个站点都有一个服务进程监听从客户端(通常是浏览器)引入的连接的TCP的80端口。
After a connection has been established, the client sends one request and the server sends one reply. Established 建立
在一个连接已建立,客户端发送一个请求和服务器发送一个回复。
Then the connection is released.
Released 释放
然后连接被释放了。
The protocol that defines the legal requests and replies is called HTTP.
Legal 合法的
那个定义合法的请求和回复的协议叫做HTTP。
A simple example using it may provide a reasonable idea of how Web servers work.
一个使用HTTP的简单例子也许可以提供一个Web服务是如何工作的合理的想法。
Figure 5-1 shows how the various parts of the Web model fit together.
fit together 组装在一起
图5-1显示了Web模式的各个部分是如何组装在一起的。
@ For this example, we can imagine that the user has just clicked on some piece of text or perhaps on an icon that points to the page whose name(URL-Uniform Resource Locator )is http://www.wendangwang.com/hypertext/WWW/Theproject.html.
对于这个例子,我们可以想象用户已经点击了指向名为xxx的页面的一些文本或者或许是一个图标。
A URL has three parts:the name of the protocol (http), the name of the machine where the page is located (http://www.wendangwang.com) , and the name of the file containing the page (hypertext/WWW/TheProgject.html).
一个URL有三个部分:协议的名称(HTTP),页面所在的机器的名称,和包含了页面的文件名。
The steps that occur between the user's click and the page being displayed are as follows:
Occur 发生
发生在用户点击和页面被显示间的步骤如下:
1The browser determines the URL (by seeing what was selected ).
Deterimines 决定
浏览器决定URL(通过查看那个被选择了)。
2The browser asks DNS for the IP address http://www.wendangwang.com.
浏览器向域名服务器要http://www.wendangwang.com的IP地址。
3DNS replies with 18.23.0.23.
域名服务器返回18
4The browser makes a TCP connection to port 80 on 18.23.0.23.
浏览器创建一个到18的80端口的TCP连接。
5It then sends a GET /hypertext/WWW/TheProject.html command.
然后它发送一个xx命令。
http://www.wendangwang.comserver sends the file TheProject.html.
7The TCP connection is released.