Tcl Website Generator

Tcl Website Generator
Login

TWG is a set of Tcl namespaces and procedures that can be used to create virtually any kind of website. The program generates website pages that can be saved as files and served statically, or dynamically by a backend with the appropriate capability. (TWG includes a Tcl web server that provides partial or complete page generation on the fly.)

Site pages are written as a Tcl "template" based on Tcl lists with embedded variables and procedures processed to create HTML output. This approach was inspired by Lisp/Scheme which similarly use lists containing interpolated variables and procedures to introduce programmatically-generated web page content at a high level of flexibility.

TWG allows for "components", specific "bundled" sets of HTML elements with dedicated in-line styling and javascript code for great control over site appearance and functionality. Think of TWG as a versatile website construction toolkit that's designed to make it convenient and straightforward to produce and maintain generated websites for the long term.