TheDocumentsGuy   TheDocumentsGuy
Introduction How It Works Tools Dynamic Content Demos FAQ Contact
Publish Online with The Documents Guy - Static Content

Is dynamic always preferable to static? Not necessarily. Where content seldom changes or consists of only small amounts of data, static HTML pages work just fine. Many web sites, for example, are basically one or two page online business cards containing contact information and a description of the products or services offered. It makes little sense to set up a database and PHP scripts for such a small amount of content that will seldom change.

Static components or even static pages are frequently used to navigate dynamic document structure and to display components that don't change from page to page. If content is small or is seldom going to change, using static pages to display it remains a feasible option.

Even though static generally refers to a set of separate HTML files residing in a web directory, the files or portions of content can also be stored in a database just as easily. In fact, doing so makes maintenance of the website easier. For example, the CSS stylesheet that determines the style of the web pages can be stored as a database record. This makes changing or adding styles easier than using FTP to upload a new style sheet file every time you want some minor change in appearance.

<< Return to server side and client side Scripting | Have fun with the Demos >>

Read the FAQ