Interactive web pages HQS Web Sites
www.hqswebsites.com

How to reach us

Smart Pages Can Add Value to Your Website

Today is Saturday, September 4, 2010.

Time to offer Saturday's Internet Special on your website!

Conventional web pages are static. They display the same text, graphics, forms, etc. every time they are called.

Dynamic pages are written, in whole or in part, as they are needed. They are more difficult to design, but they are useful when you need to present different information at different times.

For example, the program that writes this page knows that today's date is Saturday, September 4, 2010 in the MDT time zone. It could select today's events from a calendar, offer a special price for a limited time, or calculate a guaranteed delivery date.

Dynamic pages can be combined with online databases. This is especially useful when the data change frequently, as in catalogs and price lists. As described elsewhere, this avoids many problems that arise when the data are scattered through the website. It also permits catalog entries to be added and deleted by updating the database - the program then constructs the correct number of web pages.

Another common use of dynamic pages is to process user inputs from forms. The program can test for missing or erroneous entries, and it can return different pages depending on the visitor's request.

Examples

This sample from a mortgage broker's web site has two kinds of calculator and an interactive form to pre-qualify for a loan.

A form on this site compares user-id and password entries to those stored in a database. New users can add themselves to the list, and each user can see only his or her own data.

A library of articles from a church newsletter is easily updated by uploading text files to the web server. The PHP program finds these files and constructs a chronological list of links to the individual articles. When a link is selected, the same program converts the text file to a web page. This does not require any change from the newsletter format except to type the date above the title of the article. If it becomes desirable to provide a formal XML version to exchange with other churches, the PHP program can easily be modified to produce it.

You may need a bulletin board system (BBS) so that visitors to your site can talk with you and with other visitors. The BBS must have a way for you to control what is placed into your site. One way to stay aware of what visitors are posting is to have the BBS e-mail you a copy.

Client-side and Server-side Programming

Some of these interactive features can be executed on the visitor's computer, using languages such as Java and JavaScript. There are advantages to performing them on the web server, however:

I am currently using PHP as a scripting language and MySQL as a database system for server-side programming. These are open-source programs, meaning that they are available on most web-hosting services at no charge. They are constantly being expanded and improved through the efforts of millions of users world-wide.

Please ask for more information about smart pages.


Copyright 2000-2002 by Thomas David Nichols. All rights reserved.
Return to HQS home Heliotrope Quality Systems
How to reach us

www.hqswebsites.com