From: pc000@... (PaulC) Date: 2001-09-11T21:19:11+09:00 Subject: [ruby-talk:21071] CGI.rb (was Re: Minor cgi.rb question) Lars Christensen wrote in message > On Mon, 3 Sep 2001, Yukihiro Matsumoto wrote: > > > If someone wants to write next generation CGI library, I would > > encourage him. > > If anyone is willing to take upon him-/herself the task of writing it, I > have a few wishes: > > - Separation of matters (I personally don't use the html writing code when > writing CGI scripts, I write the HTML myself. This could be in a seperate > library). > > - Open for integration with fastcgi/cgisock. (Should for example not rely > on the global constant ENV having QUERY_STRING, etc, although it can > default to it). I would concur with the above and also add to the list - - Encapsulate the activation protocol (eg easy to transition client from CGI to App-Server (Servlet) etc) - Thread Safe (see above) - Hooks to support extension for other protocols over HTTP (WEB-DAV, XML-RPC etc.) I had actually separately been thinking about putting together a Servlet based interface (Request/Response objects w.multiple protocol adapters etc) and unless anyone else happens to be doing something already would be prepared to give this a go - I sould be able to get some initial thoughts out in the next few days. PaulC