Hello.

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

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)

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

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/)

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? :)

-- 
Wojciech Kocjan
email           [EMAIL PROTECTED]
mail->sms       [EMAIL PROTECTED]
www             www.zoro2.org
tel             +48-501-778778




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

Reply via email to