[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Catapult 0.1.0 Released

James Britt

11/6/2004 4:21:00 PM

Catapult 0.1.0 has been released

Catapult is a simple WEBrick instance that dynamically loads and
executes objects defined by URL paths.

A Catapult instance assumes URLs follow a known structure:
http://host:8080/classname/path/info/stuff

This sort of translates to calling
load 'Classname.rb'
obj ||= Classname.new()
obj.run( "path/info/stuff" )

(Object caching details have been left out here.)

The results of calling run are then send back via WEBrick.

Catapult came about as a way to write and run simple, Web-based services
without needing to run a particular Web server, or requiring multiple
Ruby interpreters, and without having to restart the server or shutdown
all running services just to reload code for any given service.

See http://catapult.ruby... for details and downloading



James Britt




1 Answer

khaines

11/10/2004 1:54:00 PM

0

On Sun, 7 Nov 2004 01:20:37 +0900, James Britt wrote
> Catapult 0.1.0 has been released
>
> Catapult is a simple WEBrick instance that dynamically loads and
> executes objects defined by URL paths.
>
> A Catapult instance assumes URLs follow a known structure:
> http://host:8080/classname/path/info/stuff