RAA - webapp/0.1

webapp / 0.1

Short description: easy-to-use CGI/FastCGI/mod_ruby/WEBrick interface
Category: Library/WWW
Status: alpha
Created: 2004-09-08 10:34:11 GMT
Last update: 2004-09-08 10:34:11 GMT
Owner: Tanaka Akira (Projects of this owner)
Homepage: http://cvs.m17n.org/~akr/webapp/
Download: http://cvs.m17n.org/~akr/webapp/
License: Ruby's
Dependency:
Requires: htree/0.2(*)
Requires: fcgi/0.8.4(+)
Requires: mod_ruby/1.2.2(*)
(*): newer version exists
(+): no such version
Description:
  • very easy-to-use API
  • works under CGI, FastCGI and mod_ruby without modification
  • works uner WEBrick (WEBrick based server must require "webapp/webrick-servlet", though.)
  • path_info aware relative URI generation
  • HTML form parameter varidation by HTML form

The script follows works under CGI, FastCGI and mod_ruby without modification.

require 'webapp'
WebApp {|webapp|
  webapp.content_type = 'text/plain'
  webapp.puts "Hello World."
}

It is also work under WEBrick based server if the server requires 'webapp/webrick-servlet'.

Versions: [0.2 (2004-12-30)] [0.1 (2004-09-08)]

Edit this project (for project owner)

back to RAA top