Dynamic pages
Dynamic pages are essential for any site where the content should be updated often, or on a
site containing a large amount of information, where the visitors can search.
It is also essential if you wish to seperate sections of the site allowing only members to enter.
What is a Static and what is a Dynamic page?
Static page. A Static page is an html code (Hyper Text Markup Language) which represents the page the Internet Browser
(Internet Explorer,Natscape Navigator...) will display in the format we want it to appear. To change the content of such page you
need to change the code and rewrite/reload this page into the server.
Dynamic page. A Dynamic page on the other hand has certain features that allow this page to change its content without changing the html code.
Most common is a use of a database where the content of the database is dipslayed on the page. You can have a database on the page
displaying only some parts of a text, making your updating lot easier, since you have to change only the actual text and don't have to worry
about the format and layout.
Or you can have the visitors requesting information through criteria for the database to display its content. For example, if you have a calendar of events, which
is stored in a database. Every time you learn about new event you just type that in the database on the administration page for your web site,
which is set up for your needs. The visitor then submits a date, or chooses from few types of events or locations and the system will automatically
display the events for that date or location.
Registration pages
You can have visitors to your site register by submitting information, which might be used for:
- Display on the web site ie, comments, reviews, articles or questions
- Sending these poeple e-mail messages, automatic responses or certain information
- Allow the visitors to be given access to certain members pages, which contain information, that is not for general
viewing.
Database
The Database behind a dynamic site is set up first and planned according to your needs. Once set up it is not possible to delete the database, or any information tables,
unless originally planned this way. All the content can be administered from an
administration page, which is only accessible to an authorised person with a user name and password. The content of the database does not need
to be displayed on the web site at all times. It can be stored, sent or displayed depending on your needs.
Layout and Format
The page is in the same 'html' format like the static page when it is displayd by the browser. Only certain content is changed
dynamically, the actual page layout and format is not changing.