Download Description

Transcript
GroupKit 5.0 Overview
GroupKit 5.0 Overview
Introduction
GroupKit 5.0 is a substantial rewrite, loosely based on the design found in the
unreleased GroupKit 4.0. The GroupKit API has been completely changed, and now
relies on the namespace mechanism introduced in Tcl 8.0. Internally, the code has also
been cleaned up to conform with Tcl coding conventions. GroupKit 5.0 supports Unix,
Windows and Macintosh.
GroupKit 4.0 was an experimental version, intended to test the applicability of a
meta-architecture for GroupKit. We discontinued development of GroupKit 4.0, but
retained many of the ideas and concepts in GroupKit 5.0. Additionally, we had the
goals of making this release very robust, stable and maintainable.
Meta-Architecture
GroupKit 5.0 keeps many of the core concepts from the meta-architecture developed
by Ted O'Grady for GroupKit 4.0. In particular, the internals of GroupKit are still
highly environment-based, and most communications is routed through environments.
In general, the meta-architecture has been somewhat simplified, and some of the
generality removed.
Services and registries are still supported, and interactions between environments is
still configurable. The mechanism to do so has been changed, generalizing the
previous mechanism which is now based on the metaphor of routers and subnets.
Details on the meta-architecture will be provided at a later date.
New API
The API in GroupKit 5.0 is completely different from that in previous versions, which
necessarily means your code will break. There were several guiding principles in
designing the new API:
● the new namespace mechanism introduced in Tcl 8.0 was used, such that
everything to do with GroupKit is now stored within the "gk" namespace
● similar commands were grouped together into a single command, where the first
parameter of the command identifies the particular command to be invoked; this
is similar to the "string" or "file" commands in Tcl
● the overall number of commands was reduced, and it was clearly emphasized
within the code which were internal and which were external commands
file:///Paris/groupkit-5.1/doc/gk5.html (1 of 3) [12/10/2000 10:39:10 PM]