Hacker News new | past | comments | ask | show | jobs | submit login

This Erlang web framework already has something like this:

https://github.com/5HT/n2o

Excerpt:

    body() ->
    {ok,Pid} = wf:comet(fun() -> chat_loop() end),
    [ #panel{id=history}, #textbox{id=message},
      #button{id=send,body="Chat",postback=chat,Pid},source=[message]} ].


Also comes with bidirectional Websocket connection support.

It is based on a similar project called Nitrogen.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: