Hi Miro,

Take a look at Scotty.
Very simple and fast (Warp server). Automatic JSON conversion.
Not bound to HTML templating engine.

As for the client, not sure there is any library. Maybe someone will correct me.
You could take a look at Fay [2], a subset of Haskell language that is compiled to JS.


At [1] you can see a nice tutorial


[1] - http://adit.io/posts/2013-04-15-making-a-website-with-haskell.html
[2] - http://hackage.haskell.org/package/fay

vlatko

-------- Original Message --------
Subject: [Haskell-beginners] web client/server app - what to choose
From: Miroslav Karpis <miroslav.karpis@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org>
Date: 28.02.2014 15:23


Hi, please can you help me with following:

I would like to make a server/client web app, but I'm not sure what packages/modules would do the best. I did several client/server applications not in Haskell, where I have used REST (JSON) API as a communication between client and server. In Haskell I'm not sure what would be best, but for future use most probably also REST/JSON would be best.

Server will do some realtime mathematical calculations . After its done it will send to client results. Client will visualize the results via WebGL/Threejs. 

I was thinking about Snap for server but for client I'm not really not sure.

Any ideas/comments more than appreciated ;-)


Cheers,
M.



_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners