Re: [tkined] tkined and TCL/TK plugin

Juergen Schoenwaelder (schoenw@gaertner.de)
Mon, 25 Aug 1997 22:34:39 +0200

"Todd A. Postma" <tapostma@tcsi.com> said:

Todd> Has anyone given any thought to converting tkined to a TCL/TK applet
Todd> which will work with the TCL/TK plugin from Sun?

Todd> It seems that this would be an easy way to get a web interface
Todd> for tkined. However, the plugin does significantly limit the
Todd> available commands.

The Tcl-8.0-based plugin allows you to program your own security
profile. This makes it quite easy to run a Tk application within a
browser. However, you have to install the security profile and in case
of Tkined the dynamic loadable module. So the question is: Why do you
want to do it? If I can compile the scotty code on the target machine,
I can run it directly and I see no benefit in having a browser as a
decoration. If I can't compile it, it won't work anyway.

The real solution is to separate the GUI from the tkined core and to
allow multiple user interfaces for a running remote tkined server.
Some GUIs might be Web-based and some might be written in Tcl/Tk. I
posted the documentation of the new "map" command to this list a few
weeks ago. This "map" command will be part of the next Tcl 8.0 based
release of the scotty package. This is the core of a Tkined server
which really adds value.

(I recently converted an existing Tcl/Tk application so that it runs
within a Web-browser. Some people get enthusiastic about this piece of
work because it looks so trendy within a Web-browser. I however see no
added value and I would prefer the stand-alone version over the Web
version. Being able to run an application within a browser does not
automatically turn it into a Web-based application.)

Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, D-38106 Braunschweig, Germany.     (Tel. +49 531 / 391-3283)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.