On Wednesday 09 February 2005 11:13, Bas Scheffers wrote: > I have written down my first thoughts on how this could work at: > > http://bas.scheffers.net/wiki/14 > > As you can see, it is not easy to do this quick and dirty as proof of > concept. It will require "application awareness" in many places (library > sourcing, ns_register_*) and changing the pageroot on the fly in every > request, based on what application is requested. > > Still, I don't believe it is too big a job. > > Looking forward to hear comments!
"Applications must prefix the name of nsv variables with "appname_" to avoid seperate applications overriding each other's data." Why not rewrite nsv to be namespace-aware? Actually, this would be much more flexible for your proposal. Code executing the nsv command could lookup the variables in the current namespace and then in the global namespace. The thing is: this has only remotely to do with Tcl namespaces because of the compartment threading-model. Still namespace-aware nsv's seem doable on the first glance (maybe I'm wrong). Zoran -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
