[ANN] Catapult 0.1.0 Released

J

James Britt

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.rubyforge.org/ for details and downloading



James Britt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top