> Currently I am evaluating websh for use in a cgi/scgi/fastcgi  
> environment, thus not as an apache module.  I am wondering, is there  
> much of the c code of websh needed, or is it feasible to build a  
> tcl-only websh?  (And which parts would have to be translated from C  
> to tcl?)

Websh is almost purely C, so you'd have to implement pretty much
everything or at least whatever functionality you'd want to have.

Maybe it would make more sense to look for other implementations of
cgi helper functionality instead of reimplementing Websh in Tcl
(although certainly possible).

For me the absolute minimum necessary funcionality would be the wohle
request handling stuff (web::dispatch, web::param, web::formvar)
including URL and command generation (web::cmdurl, web::command). For
the rest: It depends what you want to do. web::putx is basicaly the
"template evaluator" so if you need to parse some HTML templates that
contain code or vice versa, some similar approach must be taken, I
guess.

hth
Ronnie
-- 
Projekt «Robot Team Challenge»: Wir fördern den Nachwuchs
www.informatica08.ch/robot

Ronnie Brunner | [EMAIL PROTECTED]
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

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

Reply via email to