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

Tcl Interface

To extend the AOLserver with Tcl, you create a Tcl procedure to handle your request. The Tcl script typically uses standard Tcl commands as well as special commands added by AOLserver for sending results back to a Web browser or accessing the Illustra database. Creating new Tcl scripts is very easy. In fact, AOLserver includes a simple HTML forms interface to create, update, and immediately load a Tcl script into the running server. You can also put your Tcl code right next to your HTML pages in .tcl files.

Many of the basic AOLserver services are implemented as Tcl scripts. In fact, most of the database operations such as handling database inserts, queries, and updates, are written as Tcl scripts. Not only has the Tcl interface greatly reduced the development time for the AOLserver engineering team, it also allows you to easily modify the basic database operations by simply editing the Tcl scripts that implement the functionality.

See Chapter 2 for information on extending AOLserver with Tcl. Chapter 3 is a reference for the Tcl language.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.