I want to do something very similar to Google Doc\'s live updating - where all users can \"immediately\" see the actions of the other users in the doc.
To achieve this,
Check out google mobwrite. It's a drop-in library that enables collaborative editing of html forms via operational transformation.
Getting events pushed back from the server is the easy part, there are many ways to do it. Ensuring that the state is consistent across all clients, that's the hard part. That's where the operational transformation algorithm comes in.