html5 - What Haskell web framework would one use for an HTTP/Websocket data and messaging platform? -


just looking @ haskell , web frameworks , wondering if make sense use haskell's great threading/event functionality power platform writing html5 , rest apps expose http api data , websocket (with maybe sockjs support appropriate fallback) api events? doesn't seem "big" web frameworks support websockets first-class citizen, though seem have lot of other things going them.

my concern making use of available cores, haskell can well, providing easy user integration on server side validation , server-side logic (maybe embedding lua or similar?). if 1 wrote on jvm, 1 make use of multiple server-side language support , lots of libraries sort of thing.

i'm sure people doing things in one-off solution own applications i'm thinking along lines of paas-type approach 1 can write html5 apps data (including proper synchronization offline use) , eventing "for free" fundamental part of platform. logic reside in browser run on server appropriate hooks , reasonable embeddability (javascript seems out of question , not sure embedding interpreters in haskell i'm dangerously familiar haskell in general).

part of problem i've had haskell far i'm not math guy. didn't study cs in college , i'm creative-type thinker. lot of tutorials , documentation me pretty lost, when dealing mathematical stuff.

has trod path already? late party? :)

gregory collins gave tutorial @ cufp last year using snap build interactive chat website using long polling (not websockets). source code here.

in websockets department, jasper van der jeugt wrote haskell websockets library. available on hackage , comes websockets-snap, provides snap framework support. there's wai-websockets provides integration warp.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -