Mr. Guillem,

I have no problem with you doing whatever with that "tkweb.tcl" script. I consider it public domain, and even made a little note in the on-line version of that file now about such.

Also, I'm not sure what you're talking about with PHP/Tk as PHP/Tk doesn't allow you to display Tk widgets on a webpage as far as I can tell. PHP/Tk allows you to display Tk widgets on a Tk toplevel window which is rendered by your graphical environment (X, Win32, Aqua, whatever). Where as "tkweb" allows you to generate Tk widgets on a webpage and interact with them.

I should note that I gave up writing "tkweb" at its current state because I decided it was the wrong way to solve the problem. The right way would take way more time than I was interested in devoting to such a toy (I wrote "tkweb" over a boring weekend, whereas the proper implementation would take several days before it became usable). It was a fun little amusement at the time (somewhere around 2000), though. If you can get something productive out of it, so much the better.

        Roy Keene
        Planning Systems Inc

On Fri, 14 Oct 2005, Pedro Guillem wrote:

Hello David and Roy.
Thank you for the quick response!. (too Quick if i may add :-D )

I went thru Roy's code and as you warned, it's really close to what we were
looking for, that being, a way to implement
tk code at server side for web-enambling the GUI of our tcl app.
We will add some some lines, and then we'll mail it back or put it in the
Rivet CVS (if Roy agrees, offcourse).
Thank you Very much!. we promise it will be handled as a special guest by
our hads ;-).

Yes, i mentioned php/tk as an example of the kind of bind which would be
really useful to have in Rivet in order to implement Web-tk code
or make basic tk widgets availiable in web pages. I heard (not seen) that
Websh can do some of this... (ej. mind game example at Websh page).

Still, we all know a TCL application server, or a way of Web enambling Tcl
appz (besides the tcl-plugin) is far away from hitting the road.
(would be an interesting project thou... some kind of Jboss in TCL...if you
ever taught about it, count me in).

We went over the TCL plugin a couple of weeks ago and found out it was
somehow insecure for DB issues
(since all the conns had to originate from client side). Also, the way
security policies apply suggest creating a custom plugin-pack
to be distributed to the users (among with the needed tcl packages, since
nothing would be executed at server side).

As for the Castellano translation of the Rivet Manual, i'd be glad to help
:-).
I will take the availiable version of the manual from the web and start
translating asap, work is allways good when u like what you do ;-).
A channel to the dev-team would be nice, it'll sing up right away to the
Rivet-dev mail.

Glad to be in touch!
Grazie ancora

Pedro Manuel Guillem
S&S
Bayes Forecast - Madrid
http://www.bayesforecast.com
http://tol-project.org



----- Original Message -----
From: "David N. Welton" <[EMAIL PROTECTED]>
To: "Roy Keene" <[EMAIL PROTECTED]>
Cc: "Michael Link" <[EMAIL PROTECTED]>; "Pedro Guillem"
<[EMAIL PROTECTED]>; <[email protected]>
Sent: Thursday, October 13, 2005 7:25 PM
Subject: Re: Fwd: Rivet/Tk


Roy Keene wrote:
I once began a Tcl/Tk under Tcl/CGI tool, but never finished it.

It can be seen here:
http://www.rkeene.org/viewer/tmp/tkweb.tcl.htm

I wrote it years ago so I don't remember anything about it, but it does
work for some basic things.

Good luck with that.

    Roy Keene
    Planning Systems Inc

On Thu, 13 Oct 2005, Michael Link wrote:



Begin forwarded message:

From: "Pedro Guillem" <[EMAIL PROTECTED]>
Date: October 13, 2005 5:05:04 AM CDT
To: <[EMAIL PROTECTED]>
Subject: Rivet/Tk


Hello Michael.

Before i say anything, receive my most sincere congratulations for
the developement of Rivet.

My name is Pedro Guillem,

I work as a Junior Programmer for Bayes Forecast, a Business
Intelligence consutant in Madrid, Spain.
We work to imporoove our open source project named TOL (Time Oriented
Language) www.tol-project.org
which's core was coded in C++. I kindly encourage you to visit the
web for more details and specs.
Feel free to get our daily compile from our CVS.

The visuals of our software has a strong Tcl and Tk basis, for this
reason, we dediced to implement Rivet to port a
web user interface. No need to rebuild the whole Tcl cake, you know
what i mean.
We impressed ourselves when we saw Rivet succesfully loading our
custom made packages. amazing work.

Out own tcl widgets (toltcl packages) work like a charm with rivet,
for obvious reasons, there is no way of opening a tk console
to display visuals from a server side generated page... it wouldnt
make any sense. still.. we have a lot of work already
developed to display all the graphical interface using tk.

We figured we couldnt achieve half the realiability by spitting "tcl
puts" with html code in it. And less possible, display Stochastical
Graphs ...

My question is:
Does rivet implements or will implement some kind of tk/html parsing
extension?. kind of like php/tk ??
This way all the tk coded visuals could swim into html, at least the
basic ones. Is there any method of parsing tk visuals over Rivet?.

I know this is kind of unethical, but nobody seems to speak about
this and i taught in asking the source.
I appreciate your time, effort, and any help you could provide to
your open source compliant spanish companions!! :-)

Best Regards

Pedro Manuel Guillem
S&S
Bayes Forecast
Madrid - Spain

PS: We would are grateful to contribute and promote the use of rivet
technology.

[Responding to Roy]
I think actually the one interested in it was Pedro Guillem - if I
understand correctly, Michael Link forwarded his mail on to us at the
rivet-dev list.

[Responding to Pedro]
Anyway, Pedro, Roy's Tk/CGI thing is pretty snazzy, and worth a look,
but I don't think it's complete...and it's by far the best  of that kind
of tool I've seen - I think you'd have to continue his work if you want
to output to the web.

I'm a bit confused as to just what you want, though - you mention PHP/Tk
- that's just a TK binding for PHP so that you can write GUI's with PHP.

Something else that's worth checking out that might be what you need is
this, the Tcl browser plugin:

http://www.tcl.tk/software/plugin/

I'm glad you like Rivet and are happy with it.  Anything you'd like to
do to help out is welcome.  One possibility would be translating the
manual into Castellano, although that's a big effort and is likely to
mean lots of maintainance work too.  The first thing to do in any case
is to get involved by signing up for the rivet-dev mailing list!

Bienvenido, in any case!

--
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to