Static web page
Encyclopedia
A static web page is a web page
Web page
A web page or webpage is a document or information resource that is suitable for the World Wide Web and can be accessed through a web browser and displayed on a monitor or mobile device. This information is usually in HTML or XHTML format, and may provide navigation to other web pages via hypertext...

 that is delivered to the user exactly as stored, in contrast to dynamic web page
Dynamic web page
A dynamic web page is a kind of web page that has been prepared with fresh information , for each individual viewing. It is not static because it changes with the time , the user , the user interaction , the context A dynamic web page is a kind of web page that has been prepared with fresh...

s which are generated by a web application
Web application
A web application is an application that is accessed over a network such as the Internet or an intranet. The term may also mean a computer software application that is coded in a browser-supported language and reliant on a common web browser to render the application executable.Web applications are...

.

Consequently a static web page displays the same information for all users, from all contexts, subject to modern capabilities of a web server
Web server
Web server can refer to either the hardware or the software that helps to deliver content that can be accessed through the Internet....

 to negotiate content-type or language of the document where such versions are available and the server is configured to do so.

Static web pages are often HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....

 documents stored as files in the file system
File system
A file system is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device which contain it. A file system organizes data in an efficient manner and is tuned to the...

 and made available by the web server over HTTP. However, loose interpretations of the term could include web pages stored in a database
Database
A database is an organized collection of data for one or more purposes, usually in digital form. The data are typically organized to model relevant aspects of reality , in a way that supports processes requiring this information...

, and could even include pages formatted using a template and served through an application server, as long as the page served is unchanging and presented essentially as stored.

Advantages and disadvantages

Advantages:-
  • No programming skills are required to create a static page.
  • Inherently publicly cacheable (ie. a cached copy can be shown to anyone).
  • No particular hosting requirements are necessary.
  • Can be viewed directly by a web browser without needing a web server or application server
    Application server
    An application server is a software framework that provides an environment in which applications can run, no matter what the applications are or what they do...

    , for example directly from a CD-ROM
    CD-ROM
    A CD-ROM is a pre-pressed compact disc that contains data accessible to, but not writable by, a computer for data storage and music playback. The 1985 “Yellow Book” standard developed by Sony and Philips adapted the format to hold any form of binary data....

     or USB Drive.


Disadvantages:-
  • Any personalization or interactivity has to run client-side (ie. in the browser), which is restricting.
  • Maintaining large numbers of static pages as files can be impractical without automated tools.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK