[ANN] Narf cgi library alpha release

Information: http://narf-lib.sourceforge.net/
Download: http://sourceforge.net/projects/narf-lib/

NARF is an attempt to create ruby web libraries that escape the
weighty thud that one usually associates with web frameworks. We want
to build a variety of solutions to help with every layer of building
web applications, from the ground (cgi) up (to design patterns)

This module is directed towards improving the core of ruby’s web
libraries. There are many good things about cgi.rb, but there is also
a good deal of friction in various parts of the api. NARF’s cgi
classes are an attempt at writing what the ideal, unconstrained cgi
api would be.

One of our overriding concerns is testing:

  • The api should be easy to test in applications
  • The api should be thoroughly tested internally,
    so that it is easy to build upon our work

We must thank Wakou Aoyama for providing an excellant foundation for
our work; he has been generous and helpful throughout the process. We
also thank Keunwoo Lee for several clarifying patches. Much of this
was inspired by the discussions at the Xp-NewYorkCity group; if you’re
in town drop by!

Narf is written by Tom Clarke and Patrick May.

Thanks for checking this out!

“Patrick May” patrick-may@monmouth.com wrote in message
news:3b3ad3b4.0208161113.65eaacb6@posting.google.com

Information: http://narf-lib.sourceforge.net/
Download: http://sourceforge.net/projects/narf-lib/

NARF is an attempt to create ruby web libraries that escape the
weighty thud that one usually associates with web frameworks. We want
to build a variety of solutions to help with every layer of building
web applications, from the ground (cgi) up (to design patterns)

What about Fast-CGI?

Mikkel

“MikkelFJ” mikkelfj-anti-spam@bigfoot.com wrote in message news:3d5d5897$0$88371$edfadb0f@dspool01.news.tele.dk

What about Fast-CGI?

Eli Green has written a ruby implemention of fast-cgi:

http://www.ruby-lang.org/en/raa-list.rhtml?name=FastCGI

Unfortunately, his sites seem to be down at the moment. When I get a
chance to see how it works, I’ll look into how it could work with the
Narf cgi.

~ Patrick

“MikkelFJ” mikkelfj-anti-spam@bigfoot.com wrote in message news:3d5d5897$0$88371$edfadb0f@dspool01.news.tele.dk

What about Fast-CGI?

After reading some of the fast-cgi docs (not the ruby implementation),
it should be possible to extend the Narf cgi to work in this
enviroment.

Narf is half an api for cgi access, and half a framework for unit
testing cgi applications. It already forks some of its behavior for
mod_ruby, I don’t see y it can’t fork its behavior for another
enviroment.

~ Patrick

Which reminds me: how many commonly used ruby packages (such as Fast CGI)
are currently hosted on various private boxes / pages? Because one thing
that RAA.succ need is hosting + mirrors, so that something.rb is available
even if even if John Doe’s web-page is down.

– Nikodemus

···

On Sat, 17 Aug 2002, Patrick May wrote:

Unfortunately, his sites seem to be down at the moment. When I get a
chance to see how it works, I’ll look into how it could work with the

“Patrick May” patrick-may@monmouth.com wrote in message
news:3b3ad3b4.0208171404.2bb3baf1@posting.google.com

“MikkelFJ” mikkelfj-anti-spam@bigfoot.com wrote in message
news:3d5d5897$0$88371$edfadb0f@dspool01.news.tele.dk

What about Fast-CGI?

After reading some of the fast-cgi docs (not the ruby implementation),
it should be possible to extend the Narf cgi to work in this
enviroment.

I’m no (f)cgi expert, but the main loop is very identical.
The site is back up btw.:
http://www.ruby-lang.org/en/raa-list.rhtml?name=FastCGI

Note that Apache 2.0 does not yet support FastCGI, but it will.

Mikkel