[erlang-questions] How to build web chat in Erlang?
Jesse Gumm
gumm@REDACTED
Wed Oct 8 18:19:05 CEST 2014
Hi Rainer,
Nitrogen has a pretty simple chat example:
http://nitrogenproject.com/demos/comet2
(see the "View Source" link to see the code that makes that page work).
Changing that page to use multiple chat rooms is about 5-6 more lines of
code.
Alternatively, you could look into Chicago Boss (go through the tutorial,
and the ways of building a chat system with it should become rather clear).
Anyway, good luck!
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Oct 8, 2014 10:35 AM, "Rainer Hansen" <rainer.hansen@REDACTED> wrote:
> I want to create a web chat solution in Erlang. First I want to build a
> prototype to demonstrate a web chat idea. Hence, the first solution does
> not need to be very sophisticated (only 1-to-1 chat) and will probably
> need to handle less than 300 simultaneous connections.
>
> For this demonstration purpose I have been scanning the web for possible
> open-source projects and tutorials to help me get started quickly. I
> have found a tutorial about creating a basic web chat application with
> Cowboy: https://github.com/hcs42/cowboy_tutorial_webchat
>
> and basically using a XMPP-JavaScript library (Strophe.im or
> Converse.js) together with ejabberd. I have not yet tested any of these
> approaches.
>
> I wonder if someone knows about alternative approaches, tutorials or
> open-source projects.
>
> Regards,
> Rainer
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141008/fef19919/attachment.htm>
More information about the erlang-questions
mailing list