No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] Improvement proposal for instfilters and guards
From: Eckhard Lehmann <eckhardnospam_at_gmx.de>
Date: Tue, 03 Jun 2008 22:55:45 +0200
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)?
Date: Tue, 03 Jun 2008 22:55:45 +0200
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