From: Holden Glova Date: 2002-05-09T17:04:32+09:00 Subject: Re: CGI API Rant -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 09 May 2002 17:47, Curt Sampson wrote: > On Mon, 29 Apr 2002, Thomas Hurst wrote: > > I fail to see how HTML generation makes a good mixin for cgi.... > > It doesn't. I agree that these ought to be two separate things. > > > What I might like a CGI API to look like (more to invoke > > comment/discussion than anything else): > > > > Seperate objects for the request and the response. [etc.] > > What I want to see is a Ruby version Java's Servlets. I should be > able to pass the request on to some other bit of code if I don't > want to deal with it, post-process that other bit of code's response, > and all of that, too. > > cjs While WEBrick does not try to be Java Servlets (that has been openly stated on WEBrick ML) it does have what I think is a nicer interface for dealing with the HTTP request/response. Give it a try. http://www.ruby-lang.org/en/raa-list.rhtml?name=WEBrick - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE82izL+mF116Lw2cQRAmJ/AJsEf00A1CngxsuSA7FRcFa84GvYKACeOoH9 dlveEOLvzfrljLW2iN3BCy4= =kpt2 -----END PGP SIGNATURE-----