[ Previous ] [ Contents ] [ Index ] [ Next ]

What is Tcl?

Tcl is a programming system developed by John Ousterhout at the University of California, Berkeley. (Dr. Ousterhout is now at Scriptics.) According to Dr. Ousterhout:

Tcl is a simple scripting language for controlling and extending applications; its name stands for "tool command language". Tcl provides generic programming facilities, such as variables and loops and procedures, that are useful in a variety of applications. Furthermore, Tcl is embedable. Its interpreter is a library of C procedures that can easily be incorporated into applications, and each application can extend the core Tcl features with additional commands for that application.

AOLserver supports the Tcl v7.6 commands. When you write AOLserver extensions in Tcl, you use the core functionality of Tcl as well as a set of AOLserver-specific Tcl functions. For example, there is an AOLserver Tcl function called ns_conn that allows your Tcl script to obtain information about the current connection. In addition, functions are available for returning results to Web clients, accessing databases, and managing the permissions (access control) system.

This book describes the two different methods for extending AOLserver with Tcl, using AOLserver Dynamic Pages (Chapter 2) and Tcl libraries (see Chapter 3), plus general information on using Tcl with either method (see Chapter 4). It also provides a reference for AOLserver's Tcl API (see Chapter 5).

Recommended Reading

For more information on the Tcl language, we recommend the following sources:

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.