ANN: Servlex version 0.2

2 views
Skip to first unread message

Florent Georges

unread,
Sep 12, 2010, 7:42:55 PM9/12/10
to expath-a...@googlegroups.com, exp...@googlegroups.com
Hi,

I am pleased to announce I have just released the version 0.2
of Servlex, an implementation of the Webapp module using Saxon
and Calabash. You can find it at http://servlex.googlecode.com/.

The Webapp module defines a way to represent an HTTP request in
XML, to map the request URI to a component (an XSLT or XQuery
function, an XSLT template, an XProc step, an XQuery module, an
XSLT stylesheet or an XProc pipeline), to pass it the HTTP
request, and finally to transform the component response to the
actual HTTP response.

The webapps are packaged using the EXPath packaging system,
using a web descriptor to map URIs to components. The selection
of the components themselves is entirely delegated to the package
repository.

To see an example of a request passed tot he components, you
can have a look at http://h2oconsulting.be/tools/dump (this is
actually a real XSLT function which dumps its input to HTML, in
order to inspect it). This website (the website of my company)
runs under Servlex successfully for several months now.

You can also find a real-life example of a webapp at
http://h2oconsulting.be/xqts/, a browser for the XQuery test
suite. This project is open source and available on Google Code
at http://code.google.com/p/xlibs/. And of course, you can have
a look at the EXPath's website sources[1] for yet another
example of webapp.

Unfortunately, there is no formal spec yet, and there is not
much documentation. The distribution comes with a simple webapp
though which is easy enough to understand.

Any comment welcome!

Regards,

--
Florent Georges
http://fgeorges.org/

[1]http://code.google.com/p/expath/source/browse/#svn/trunk/website

Reply all
Reply to author
Forward
0 new messages