A central feature of Tornado is the rich set of APIs that allow access to each level of the technology. These APIs are outlined here to provide a broad view of what options are available to developers who wish to extend the Tornado environment.
The easiest APIs to learn about are those based on Tcl, in part because of the interactive nature of Tcl, but also because extensive examples are readily available. (If you are not familiar with Tcl, see the Tornado User's Guide: Tcl for an overview of the language and for references to more detailed expositions.) The Tcl source for all standard Tornado tools is included with every Tornado installation: for example, procedures for examining semaphores, dumping memory, spawning tasks, and so on are available for customization, extension, or simply for their educational value. On UNIX hosts, every aspect of the user interface is also under user control, from dialogs to menu items. (The graphical interface on Windows hosts is somewhat less configurable, in part due to the existence of interface standards on that platform).
The Tornado APIs are shown graphically in Figure 1-4. The following paragraphs discuss each interface:
|
|||||||||||||||||||
|
|||||||||||||||||||
|
|||||||||||||||||||
The remaining chapters of this manual discuss these APIs in more detail. Reference entries for all subroutines, protocols, and interfaces appear in the online reference material under Tornado API Reference.