[Haskell-cafe] Where to start about writing web/HTTP apps ?

S. Alexander Jacobson alex at alexjacobson.com
Mon Sep 12 16:07:58 EDT 2005


a better example

http://www.intertwingly.net/blog/2005/07/22/REST-vs-API


On Mon, 12 Sep 2005, S. Alexander Jacobson wrote:

> On Mon, 12 Sep 2005, Joel Reymont wrote:
>> Why not XML-RPC?
>
> REST is more appropriate for the applications on which I work.
>
> See http://webservices.xml.com/pub/a/ws/2002/02/20/rest.html
>
> -Alex-
>
> ______________________________________________________________
> S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
>
>
>> 
>> On Sep 12, 2005, at 9:54 PM, S. Alexander Jacobson wrote:
>> 
>>> 6. define how busines logic maps to URLs
>>> 
>>>   ...
>>>   a POST _ ["u"] = doXML addUser
>>>   a GET "myapp.com" ("s":path) = fileServe mimeTypes "static" path
>>> 
>>>   myApp appCtx = let ?style=XSL "/s/style.xsl" in simpleHTTP a appCtx
>> 
>
>

______________________________________________________________
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com


More information about the Haskell-Cafe mailing list