Home
Content Management Intro
by Anthony Francis Cernosek
Your comments
are welcome!

(Designed but not yet developed)

... The Need ...

Imagine two scenarios.....

1. You're designing a Web page that has content pieces (text, graphics, links) that are relatively static, but must be periodically changed. For example, "This month's featured product" .

You want to set up the page so that your business client can make changes via the Web without calling you .


2. Or, during development, you want a flexible page structure that let's you quickly change, delete, or shuffle content placement without touching the Html code.


... The Solution ...

For any place on your Web page that may require variable content.....
1. Mentally assign a unique number - a "content ID".
2. Don't hardcode the content.....
3. Instead, call a DB lookup routine that uses the "content ID" as a key.


... Initial setup ...

1. Put the content (blocks of text, links, image sources) in the database.
2. Write a simple file maint for the DB (see this demo)
3. You may want a second DB table - and an associated file maint module - to act as a "go between". This could permit your business client to select existing content from the DB without being able to change it.



... Running the demo ...

There are three modules...
1. DB file maint - to list, add, chg, delete content .

2. Page display - to show currently selected content .

3. Content selector - to select content from the DB to be placed on the page .


... Reusing the code ...

To see the original ASP + VBscript code, you can't simply save source from your browser. (You would see only the generated Html.) So instead.....
Contact the author

Save the source code onto your PC's hard disk

Open the saved file in your word processor


© 2003 by Anthony Francis Cernosek. This site built from scratch manually - no Web editing tools were used. All modules tested in Internet Explorer 5.0 and Netscape 4.7 on an iMac running OS 9.2
Warranty disclaimer -
WebMaster: TCernosek(at) EarthLink.Net