Check out the new USENIX Web site.

Home About USENIX Events Membership Publications Students
Fourth Annual USENIX Tcl/Tk Workshop, 1996

Writing CGI scripts in Tcl


Don Libes
NIST

Abstract

CGI scripts enable dynamic generation of HTML pages. This paper describes how to write CGI scripts using Tcl. Many people use Tcl for this purpose already but in an ad hoc way and without realizing many of the more nonobvious benefits. This paper reviews these benefits and provides a framework and examples. Canonical solutions to HTML quoting problems are presented. This paper also discusses using Tcl for the generation of different formats from the same document. As an example, FAQ generation in both text and HTML are described.


View the full text of this paper in HTML,  PDF (144,026 Bytes), and POSTSCRIPT (177,856 Bytes) form.

To Become a USENIX Member, please see our Membership Information.

?Need help? Use our Contacts page.

Last changed: 8 May 2002 aw
Conference Index
USENIX home