View comments | RSS feed

Processing static web pages

A static website comprises a set of related HTML pages and files hosted on a computer running a web server.

A web server is software that serves web pages in response to requests from web browsers. A page request is generated when a visitor clicks a link on a web page, selects a bookmark in a browser, or enters a URL in a browser's address text box.

The final content of a static web page is determined by the page designer and doesn't change when the page is requested. Here's an example:

<html>
   <head>
      <title>Trio Motors Information Page</title>
   </head>
   <body>
      <h1>About Trio Motors</h1>
      <p>Trio Motors is a leading automobile manufacturer.</p>
   </body>
</html>

Every line of the page's HTML code is written by the designer before the page is placed on the server. Because the HTML doesn't change once it's on the server, this kind of page is called a static page.

Note: Strictly speaking, a "static" page may not be static at all. For example, a rollover image or Flash content (a SWF file) can make a static page come alive. However, this documentation refers to a page as static if it is sent to the browser without modifications.

When the web server receives a request for a static page, the server reads the request, finds the page, and sends it to the requesting browser, as shown in the following figure:


This image shows how the web server handles a request for a static page.

In the case of web applications, certain lines of code are undetermined when the visitor requests the page. These lines must be determined by some mechanism before the page can be sent to the browser. The mechanism is discussed in the following section.


Comments


vipin reddy said on Jul 20, 2005 at 10:59 PM :
Plz include some examples with the above so tht the expalantion would be much clear to an person with zero knowledge abt drmweaver

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/mx2004/getting_started_en/gs_07_u7.htm