Writing CGI scripts in Tcl

  • Authors:
  • Don Libes

  • Affiliations:
  • National Institute of Standards and Technology

  • Venue:
  • TCLTK'96 Proceedings of the 4th conference on USENIX Tcl/Tk Workshop, 1996 - Volume 4
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

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.