server chat with erlang

Mazen mazen@REDACTED
Thu Aug 10 10:57:46 CEST 2006



Guest wrote:
Why bother reinventing the wheel?

Use ejabberd, it's written in Erlang.

On Aug 9, 2006, at 8:31 PM, widjayy wrote:

> hi everyone.
>
> I want to make a chat with erlang. That's not a great idea, I know ;)
> My server will be with erlang, and the client will connect to it  
> through
> a web page. But I don't which is the best technology (language,  
> method)
> to connect to erlang.
>
> Thank you for your help.

--
http://wagerlabs.com/

Post recived from mailinglist
(end of quote)


There are MANY reasons to reinvent the wheel, the first and foremost one is that you LEARN from it...

I dont think its a bad idea at all to write servers in erlang, I think the whole point with erlang (many concurrent processes doing whatever) is the whole point yes? so... I suggest you go create your own small chat first (your own protocol)... where you can connect and recieve commands through telnet or something... later on you take on a familiar protocol. If you  really want to be familiar with the latest hype... do your chatclient in Ajax. In that case you would only have to do use Erlang (server side) and XHTML+JavaScript

good luck! :)
_________________________________________________________
Post sent from http://www.trapexit.org



More information about the erlang-questions mailing list