Extending Applications in TCL
Jul 13, 2010, 06:08 (0 Talkback[s])
(Other stories by Piotr Beltowski, Wojciech Kocjan)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to veronica for this link.
"In this article by Wojciech Kocjan and Piotr
Beltowski, authors of the book Tcl 8.5 Network Programming, we will
see how to create extensible applications using Tcl-based modules.
(For more resources on TCL, see here.)
"Very often applications need to be extended with additional
functionalities. In many cases it is also necessary to run
different code on various types of machines.
"A good solution to this problem is to introduce extensibility
to our application. We'll want to allow additional modules to be
deployed to specified clients—this means delivering modules
to clients, keeping them up to date, and handling loading and
unloading of modules.
"The following sections will introduce how Starkits and Tcl's
VFS can be used to easily create modules for our application, and
how these can be used to deploy additional code."