loading JPublish as a Rack app; work in progress

1 view
Skip to first unread message

Florin

unread,
Aug 7, 2011, 6:00:05 PM8/7/11
to JPublish User Group
FYI

I started not too long ago to clean and refactor a JRACK mini library,
see the github repo for details: https://github.com/florinpatrascu/jrack,
if interested. Working now for refactoring JPublish to allow you to
run your web app as a simple Rack client, it should be easy enough.

All these will help us all for writing better tests and more. Also, I
added a Jetty utility in the lib above, so you can conveniently start
a Jetty server as simple as this:

JettyUtils.startJettyRack( "127.0.0.1", 8080, new EchoRack());

a perfect match for test units.

Obviously I am aware that there is a complete JRuby Rack
implementation (https://github.com/nicksieger/jruby-rack) but I wanted
something simpler.

Stay tuned, if interested :)

V/r
-florin


Reply all
Reply to author
Forward
0 new messages