Starkit and SDX

As you could see in the previous example, Tclkit can be used as a replacement for tclsh, because it is able to run .tcl scripts. This feature, although useful, is nothing new. What is really innovative is that Tclkit is also capable of executing Starkits.

What is Starkit? It is a technology that allows you to pack (or wrap) the entire directory structure containing your scripts and other files crucial for your application into a single file with a virtual system inside of it. Having read the previous sections of this chapter, it won't be a surprise for you that Metakit, along with the appropriate VFS driver, is used to achieve this goal.

The structure and naming convention of directories and files to pack is precisely defined, so ...

Get Tcl 8.5 Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.