>>>Jacob Levy said:
 > Three more questions:
 > 
 > * Which is preferrable -- Url_ReadPost or Httpd_ReadPostData?

Url_ReadPost is a higher-level function that you'll probably find better to 
use.

 > * Where (ha! :) is all of this stuff documented? The book chapter is kind of
 > skimpy..

time marches on...
Read the Source, Luke!

 > * The last version of the web server on dev.scriptics.com is 3.1. Can you gi
     ve
 > an idea
 >    how the 3.2 "cleaner way" works?

Simply to use the -library command line argument (also the library Config file)
as the name of a directory and source all the *.tcl files there in
alphabetical order.  Nothing fancy.  This is done at the end of
httpdthread.tcl, which means towards the end of initialization.

 > Thanks for all of this good stuff! I understand better now about httpd.tcl
 > being a "main program" and not reloadable.
 > 
 > One more Q: do you have performance data to compare TclHttpd with AOLserver?
      I

My Tcl/Tk conference paper has some comparisons.
http://dev.scriptics.com/software/tclhttpd/tclhttpd-tcl2k.pdf
AOLserver is faster for simple things.
However, when I compared www.scriptics.com (TclHttpd) to
dev.scriptics.com (AOLserver) I found TclHttpd faster because the
ArsDigita stuff does stuff like record page accesses in the database to
keep track of what you've visited.

 > know this is not a list to discuss AOLserver, but just a small issue -- is t
     he
 > Tcl event loop active in AOLserver?

I don't think they've taken it out or anything, and they use threads so
you could do "vwait" if you wanted to.  But, really, there are a bunch of
Tcl APIs in AOLserver for doing thread-ish things so I'm not sure you'd
need the event loop as much.

--      Brent Welch     <[EMAIL PROTECTED]>
        http://www.ajubasolutions.com
        Scriptics changes to Ajuba Solutions
        scriptics.com => ajubasolutions.com


Reply via email to