Don Libes cgi.tcl package is great for rapid development of dynamic web sites.
http://expect.nist.gov/cgi.tcl/
See also the cgi.tcl extension page, which has more information on this very useful tool.