Squeak's web server

Alan Kay Alan.Kay at disney.com
Mon Feb 7 23:33:49 UTC 2000


Stefan --

We are a few epsilon away from "Squeaklets" using Dan's and Ted's image
segment swapping, and Andreas' and John's browser plugins. This is going to
be really cool (really soon, we hope).

Cheers,

Alan

--------

At 3:22 PM -0800 2/7/00, Stefan Matthias Aust wrote:
>Hi!
>
>I wonder which is the best web server to use in Squeak.  What's the latest
>version of Comanche?  Is it stable enough for a commercial solution?  Or
>should one better use the old PWS?  How do they compare?  Do both scale
>well, that is, what happens if they must process multiple requests per
>seconds?  Do they support cookies and (basic) user authorization?
>
>I looked at comanche.swiki.net but found no source code.  I managed to dig
>out a beta version of swiki/comache called ComputerAge (I think) and tried
>to figure out how to use it.
>
>I noticed a few problems though: Comanche seems not to support HTTP 0.9
>requests.  Even if Netscape 4.7 does HTTP/1.0 requests, the response is
>HTTP/1.1.  I'm not sure, but I think a server may not answer with a higher
>protocol number.  And in the HTTPRequest object, there's an entry
>'onnection' which is probably missing a 'c'.  A parser error?  A GET
>request  /whatever?a=1&a=2 isn't parsed correctly IMHO.  I think, the
>server should remember both values for 'a' (Java servlets do this).
>
>And is there any easy way to debug a #process: method?  A 'self halt' seems
>not to work.  It seems that the only way to debug is to emit string on the
>Display.
>
>I also had a quick look at active squeak pages (which are really nice) but
>if there's a syntax error in the code, the browser hangs because of no
>response and the server shows an error dialog.  Is there a way to access
>the request object (or even better some kind of session object with custom
>data) from the asp?
>
>Or to ask the question of all questions:  Is there something comparable (or
>better) to Java servlets?  I know I can solve my problem in Java but doing
>it in Squeak would be a great change to introduce Squeak/Smalltalk at my
>work :-)
>
>
>Thanks,
>bye
>--
>Stefan Matthias Aust  //  Bevor wir fallen, fallen wir lieber auf.







More information about the Squeak-dev mailing list