home *** CD-ROM | disk | FTP | other *** search
/ A Beginner's Guide to the Internet / INTERNET.ISO / text / www / info / how-work.www < prev    next >
Encoding:
Text File  |  1996-05-06  |  2.9 KB  |  62 lines

  1. How does the Web work?
  2. ~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4.  Web software is designed around a distributed client-server architecture. A
  5.  Web client (called a Web browser if it is intended for interactive use) is a
  6.  program which can send requests for documents to any Web server. A Web server
  7.  is a program that, upon receipt of a request, sends the document requested
  8.  (or an error message if appropriate) back to the requesting client. Using a
  9.  distributed architecture means that a client program may be running on a
  10.  completely separate machine from that of the server, possibly in another room
  11.  or even in another country. Because the task of document storage is left to
  12.  the server and the task of document presentation is left to the client, each
  13.  program can concentrate on those duties and progress independently of each
  14.  other.
  15.  
  16.  Because servers usually operate only when documents are requested, they put a
  17.  minimal amount of workload on the computers they run on.
  18.  
  19.  Here's an example of how the process works:
  20.  
  21.  1.       Running a Web client, the user selects a hyperlink
  22.       in a piece of hypertext connecting to another document
  23.       - "The History of Computers", for example.
  24.  
  25.  2.       The Web client uses the address associated with that
  26.       hyperlink to connect to the Web server at a specified
  27.       network address and asks for the document associated
  28.       with "The History of Computers".
  29.  
  30.  3.       The server responds by sending the text and any other
  31.       media within that text (pictures, sounds, or movies)
  32.       to the client, which the client then renders for
  33.       presentation on the user's screen.
  34.  
  35.    [image] Figure 6. A typical transaction between Web
  36.                      servers and clients.
  37.  
  38.  The World-Wide Web is composed of thousands of these virtual transactions
  39.  taking place per hour throughout the world, creating a web of information
  40.  flow.
  41.  
  42.  Future Web servers will include encryption and client authentication
  43.  abilities - they will be able to send and receive secure data and be more
  44.  selective as to which clients receive information. This will allow freer
  45.  communications among Web users and will ensure that sensitive data is kept
  46.  private. It will be harder to compromise the security of commercial servers
  47.  and educational servers which wish to keep information local. Improvements in
  48.  security will facilitate the idea of "pay-per-view" hypermedia, a concept
  49.  which many commercial interests are pursuing.
  50.  
  51.  The language that Web clients and servers use to communicate with each other
  52.  is called the Hypertext Transfer Protocol (HTTP). All Web clients and servers
  53.  must be able to speak HTTP in order to send and receive hypermedia documents.
  54.  For this reason, Web servers are often called HTTP servers.
  55.  
  56.  The phrase "World-Wide Web" is often used to refer to the collective network
  57.  of servers speaking HTTP as well as the global body of information available
  58.  using the protocol.
  59.  
  60.  
  61. .
  62.