[Xotcl] Improvement proposal for instfilters and guards

Eckhard Lehmann eckhardnospam at gmx.de
Tue Jun 3 22:55:45 CEST 2008


Gustaf Neumann schrieb:
> So, for your problem, define a meta-class for classes
> with persistant objects and overwrite
> on the class level the methods "create" and "instdestroy".  The same
> can be done with the Session class as well. I have not looked at
> the session model of TclHttpd, but from your specification, the
> class structure can look like the code below. The script
> produces the following output:
>
Actually I am using meta classes already, but not for this kind of 
behaviour.
It's that only some persistency objects should be available in some 
sessions, not all of them in all sessions - but other objects should be 
in all sessions. You certainly don't want to have all of your user info 
appear in someone else's session while you are logged in on the server ;-).
Anyway, thanks for your kind help!

BTW, have you or somebody else already considered to make an XOTcl 
implementation for Jacl (Tcl on Java)?


-- 
Eckhard





More information about the Xotcl mailing list