<p dir="ltr">Hi Rainer,</p>
<p dir="ltr">Nitrogen has a pretty simple chat example: <a href="http://nitrogenproject.com/demos/comet2">http://nitrogenproject.com/demos/comet2</a></p>
<p dir="ltr">(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.</p>
<p dir="ltr">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). </p>
<p dir="ltr">Anyway, good luck!</p>
<p dir="ltr">--<br>
Jesse Gumm<br>
Owner, Sigma Star Systems<br>
414.940.4866 || <a href="http://sigma-star.com">sigma-star.com</a> || @jessegumm</p>
<div class="gmail_quote">On Oct 8, 2014 10:35 AM, "Rainer Hansen" <<a href="mailto:rainer.hansen@gmx.net">rainer.hansen@gmx.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to create a web chat solution in Erlang. First I want to build a<br>
prototype to demonstrate a web chat idea. Hence, the first solution does<br>
not need to be very sophisticated (only 1-to-1 chat) and will probably<br>
need to handle less than 300 simultaneous connections.<br>
<br>
For this demonstration purpose I have been scanning the web for possible<br>
open-source projects and tutorials to help me get started quickly. I<br>
have found a tutorial about creating a basic web chat application with<br>
Cowboy: <a href="https://github.com/hcs42/cowboy_tutorial_webchat" target="_blank">https://github.com/hcs42/cowboy_tutorial_webchat</a><br>
<br>
and basically using a XMPP-JavaScript library (Strophe.im or<br>
Converse.js) together with ejabberd. I have not yet tested any of these<br>
approaches.<br>
<br>
I wonder if someone knows about alternative approaches, tutorials or<br>
open-source projects.<br>
<br>
Regards,<br>
Rainer<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>