Hi,
I would like to announce a new library (very alpha) called Fold.
https://github.com/xokomola/fold
It is a an HTTP routing library which provides an alternative way to map HTTP requests to XQuery functions. In future I hope to use this together with Origami to build REST services and small web apps.
My main goal of announcing this is to get feedback on how to improve this. Currently it is defined on top of RESTXQ but in future this might be handled by a Java extension. There are parts missing still and I strongly advise you not to use this for a serious project.
Performance gets bad quite quickly. Performance gains may very well be possible by XQuery refactorings. I basically wrote this as a port from a couple of Clojure libraries.
A bit of documentation for this library and for Origami can be found in each project's wiki. Note that I only just started these and they are not complete.
I'll be working on this library over the next month to get it into a more usable shape.
Happy to receive comments and improvements.
--Marc