RAA - rweb

rweb / 0.1.0

Short description: Easy to use library for web/cgi-applications with ruby
Category: Library/CGI
Status: beta
Created: 2003-12-31 18:11:00 GMT
Last update: -
Owner: iGEL (Projects of this owner)
Homepage: http://igels.net/ruby/
Download: http://igels.net/ruby/rweb-0.1.0.tar.gz
License: LGPL
Dependency:
None
Description:

Rweb is a replacement for the cgi library included in the ruby distribution. Programmers who are familiar with PHP will see some similarities, but rweb doesn't support embetting of html code in your ruby script on purpose. Use a template engine instead (e. g. http://pagetemplate.sf.net).

This is an early version, so some planned features are still undone. This are the features supported by 0.1.0:
- Write data to the output
- Set HTTP-headers
- Set the status code (e.g. 302 Found or 404 Not Found)
- Caching and flushing HTTP-body
- Parse POST formular data into a hash
- Parse GET formular data into a hash
- Parse COOKIE data into another hash
- Set Cookies

Todo:
- Support mod_ruby and CGI/nph (Non Parsed Header Output)
- Support for sessions
- Support for file uploads

Edit this project (for project owner)

back to RAA top