Wojciech Kocjan <[EMAIL PROTECTED]> writes:

> Since it's christmas and everybody normal is eating cakes and stuff
> ...  I've been thinking.

I'm actually around, as well;-)
 
> First of all, here are some things I've written and people might
> find useful:

> ::lang - a namespace - for negotiating languages on the fly (ie. if
> there's a text in english, german and french, then depending on user
> browser's settings, best language is selected)

This sounds really cool!

> Also, I'm thinking on how to implement session support on tcl level. Here
> are my thoughts for now:
> - it should be based on attributes
> - API should be very small - get, set and del
> - should support session via login, cookies and ip

You could also do it with wacky urls*...  Is IP worth implementing?

* You basically add something like ?34eff432r4f98uwe98fusedf& to all
  the URL's, and each page passes it on to the next...

> Anybody else is working on session support? I want to write it
> myself but if anybody else is working on it, I'll gladly join forces
> :>

> Also, I've worked out a "quick-hack" (which I now consider quite
> good :) to somehow "standarize" interface to Dtcl_Script - writing
> stuff for dtcl needs something a bit more complicated than package
> require - at least that's my point of view. I wrote 4 procs:

> - proc_register - adds a command to be executed on selected stages

> - proc_unregister - removes a command from the list (opposite to
>   proc_register :)

> - proc_launch - launches a command
> - source_dir - source *.tcl and then *.conf in alphabetical order (like
>   init.d/)

Let's have a look!

> This is quite good solution in short term - I suppose long term
> solution could be much better, but this one works just fine.

> Is anyone interested in the above script? :)

BTW, if it's ok with you, I'll go ahead and put your other script for
'secure' pages in the contrib/ directory, maybe with a note stating
that it hasn't been tested a whole lot...

Ciao,
-- 
David N. Welton
     Personal:           http://www.efn.org/~davidw/  
Free Software:           http://people.debian.org/~davidw/
   Apache Tcl:           http://tcl.apache.org

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

Reply via email to