search for: foohandler

Displaying 2 results from an estimated 2 matches for "foohandler".

2008 Jan 04
1
Howto write a mongrel handler for a CGI app using CGIWrapper
Hello, Just for further reference in case of someone else want to do the same : I wanted to write a mongrel for a CGI app : [[[ require ''cgi'' require ''foo'' cgi = CGI.new if !cgi[''uri''] || (cgi[''uri''] == '''') Foo.error "URI argument is required" end uri = cgi[''uri''] user =
2007 Nov 02
10
pre-release version of backgroundrb available now from svn
...u can use: add_timer(5) { foo_job } Core of new version of bdrb is implemented on a networking library called "packet". It needs its own introduction. But now, inside each worker you can start evented network connections. You have some methods like: connect("localhost",5678,FooHandler) start_server("localhost"m,5678,FooServer) inside each worker, which can be used to let workers do fancy stuff. This is just a by product of using "packet" library. I know, thing is rough around the edge and needs more polish. But still, i hope it will be more stable than prev...