>  기사  >  웹 프론트엔드  >  Chinese-translation-of-ebooks_html/css_WEB-ITnose

Chinese-translation-of-ebooks_html/css_WEB-ITnose

WBOY
WBOY원래의
2016-06-24 11:22:13975검색

网络服务器

Up until this point in the book, you have been opening web pages in the browser directly from the file system. Obviously, if you intend your web pages to be viewed by others, you need to make them available over a network. The software used for exposing web pages over a net-work is a web server. 读到书中的这里,你已经可以在文件系统中直接使用浏览器打开网页了。很明显,如果你打算让你的网页被别人浏览到,你需要把这些网页放在一个可以访问的网络上。网络服务器就是一个用于在网络上暴露网页的软件!

The term “web server” can either denote the hardware of the underlying server or the software running on that server. For the purposes of this lesson, the term “web server” will be used to denote the software, whereas “server” will be used to denote the hardware this software runs on. 这个术语“网络服务器” 既可以表示底层服务器的硬件,也可以表示运行在服务器上的软件。基于本课的目的,这个术语“网络服务器” 将会被用于指代软件,反之“服务器”将会被用于指代运行该软件的硬件。

The primary purpose of a web server is to expose a set of resources from the file system of a network enabled server via protocols such as HTTP and HTTPS.Resources are typically files such as HTML pages, images, and CSS files, to video and audio files. 一个网络服务器的首要目的就是通过HTTP,HTTPS之类的网络协议,暴露一组位于启用网络服务的服务器的文件系统上的资源。这些资源都是典型的文件,例如 HTML页面,图片,CSS文件,音频和视频文件。

NOTE This view is slightly simplistic because many resources in real-world web applications are dynamically generated and therefore do not exist on a physical file system, but you will ignore this complication for the most part.

注释 这个观点是稍微简单化的,毕竟在真实世界里的网络应用程序的很多资源是动态生成的, 因此不存在一个物理的文件系统,然而大多数情况下你将会忽略复杂的部分。 (然而你将会忽略它复杂的大部分。)

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.