I've uploaded a simple chat application based on erlycomet and dojo to github:
The code is not the best, but it works on yaws perfectly (using the long-polling transport) and it's quite snappy.
I'm not thinking about updating that code much more (it seems we'll soon have a new erlycomet version: http://www.rsaccon.com/2008/06/erlang-exchange-2008.html).
But if I do, it will be something like stripping the built-in Bayeux pub-sub and replacing it with some AMQP bindings.
If anyone's interested in something like that or knows of existing similar projects please drop me a mail.
Thanks for trusting! :)
Hope I didn't screw up... but if I did I'll gladly take another whack at it. ;)
DavideOn Thu, Jan 22, 2009 at 8:39 PM, Claes Wikstrom <email@example.com> wrote:
Davide Marquês wrote:
Hi all!configure.in <http://configure.in> - so producing configure again
Here are some contributions (based on the fresh yaws-1.79) to enable:
* compilation on windows using cygwin (when erlang is installed in
I applied the needed changes to configure (and repeated them on<http://www.trapexit.org/forum/viewtopic.php?t=7438&sid=1edaee008a16bde23b6bcf83a4eb765d>
should work - never used autoconf so I'm not sure).
I also did an install on a ubuntu box and the compilation went ok;
* a stream_content_with_timeout "return value" to support comet
applications (like this guy did<http://cometdproject.dojotoolkit.org/> examples.
a while ago)
Checked this using erlycomet (extended to also work with yaws) and
it's working ok. I'll be sharing these changes to erlycomet on
github when I get them to work with the latest cometd
Thanks a bunch,
The streamcontent patch is great, as for the cygwin patch - I'll just
have to trust you. It looked good though.
Both applied to trunk