Packaging tcl packages.
- From: rvclayton@xxxxxxx (R. Clayton)
- Date: Fri, 30 Dec 2005 20:50:09 GMT
I'm writing tclets which are mostly structured as package requires and glue.
This structure seems to cause a problem: to be up-loadable by browsers a tclet
has to be a monolithic block containing all necessary code. This raises two
questions:
Does a tclet have to be a self-contained monolith? My experiments suggest so:
two separate tclet up-loads are isolated from one another and can't share code,
which seems sensible with respect to safety. I also haven't figured out how to
the the tcl equivalent to the Java codebase attribute (although I probably
don't understand what codebase is supposed to do).
The second question is: assuming a monolithic structure, is there a tool around
that can create the monolith? It doesn't seem like too difficult a shell
script to write, but dealing with browser-resident errors that result from
subtle monolithifying issues isn't my idea of a good time.
.
- Prev by Date: Underlining text on canvas
- Next by Date: Re: Underlining text on canvas
- Previous by thread: Underlining text on canvas
- Next by thread: how to run tkinspect
- Index(es):
Relevant Pages
|