From: patrick-may@... (Patrick May) Date: 2002-05-10T00:01:48+09:00 Subject: Re: CGI API Rant Thomas Hurst wrote in message news:<20020428203148.GA33325@voi.aagh.net>... > Is it just me, and do I just need to use it more to see how great it is, > or is cgi.rb's API a bit... uninspiring? You aren't the only one. I'm working on a fork at http://www.hexane.org/cgi-bin/hexane.cgi?page=TheNarfFramework > [snip] > > I'm also rather concerned over sentences like: > > "Returns a string containing the given headers (in the MOD_RUBY > environment, the resulting header is sent immediately instead)." yeah, these scare me to. especially b/c it could have be implemented in a way that would be easier to test. > [snip] > > The request object should make it clearer where data comes from: > > request.params.get > request.params.post > > Rather than just: > > request.params I agree with much of what you say, but not this. Maybe I'll stick it into narf later. I suggest that you fork cgi. We could then see what we have in common, and dub those spots design perfection :-) ~ Patrick