Chapter 10. Web Programming in Tcl
In this chapter, we will introduce you to concepts related to web programming in Tcl. To be more specific, server-side web programming—processing the requests coming from clients via the HTTP protocol and responding to these requests.
The invention of HTTP and HTML revolutionized the perception of Internet and had a significant impact on the way we are using it today. These technologies became so common that it is almost impossible to imagine our day-to-day life without them. It is no wonder that every modern language is web-enabled, that is it offers a rich variety of libraries and extensions facilitating the web programming. Tcl, of course, is one of these languages, but it offers more than that—a high grade, stable and efficient web server written entirely in Tcl, able not only to serve the content, but also easily extendable, so it may be boldly considered as a kind of application server. The existence of such a solution proves the maturity of Tcl as...