[Haskell-cafe] Haskell, successing crossplatform API standart

Bjorn Bringert bjorn at bringert.net
Mon Dec 1 08:19:49 EST 2008


On Sun, Nov 30, 2008 at 17:51, Sterling Clover <s.clover at gmail.com> wrote:
> Haxr provides a basic implementation of the XML-RPC protocol, and while it
> looks like it doesn' t build on 6.10 at the moment, getting it to build
> shouldn't be a problem, and although it doesn't appear to be under active
> development, it does seem to be getting maintenance uploads. [1]

HaXR should build with GHC 6.10 now, thanks for the prod.

> These days, however, web services seem to be moving towards a RESTful model
> with a JSON layer and there are plenty of JSON libraries on hackage, which
> you could just throw over the fastCGI bindings. Alternately you could try
> JSON over one of the really lightweight haskell web servers, such as shed
> [2] or lucu [3]. If you go the latter route, I'd love to hear how it went.

I agree with this. I would only use XML-RPC to talk to legacy applications.

> [1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haxr
> [2] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/httpd-shed
> [3] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Lucu

/Björn


More information about the Haskell-Cafe mailing list