views:

142

answers:

3

I'm interest in learning how to use jquery comet to create real-time multi-user note taking like etherpad used to offer.

Can anyone offer any tips/tutorials/plug-ins... to point me in the right direction?

Thanks

+1  A: 

You can start by reading the etherpad source code here and looking into the APE project which is a Comet server that let's you code in javascript. It's very powerful and has a few nice examples.

Chris T
So Google purchased Etherpad and open-sourced the code. Awesome
Anurag
A: 

Not sure why you saying "JQuery comet". Comet is a technology (or rather technique) that involves both client and server. I've used Orbited and it worked quite well for me. It provides complete solution for building comet apps, that is, server with support for many protocols out of the box (I've used STOMP) and JavaScript library to communicate with the server. Check out this article with good introduction on Orbited.

Roman Bataev
A: 

You could use Nginx and JavaScript to implement a Comet based chat system that is very scalable with little memory or CPU utilization.

I have a very simple example here that can get you started. It covers compiling Nginx with the NHPM module and includes code for simple publisher/subscriber roles in jQuery, PHP, and Bash.

http://blog.jamieisaacs.com/archives/404

Jamie