View Full Version : The right ajax pattern for my multiuser app.

01-24-2009, 04:38 PM
I'm developing an multiuser app. This means that more than 1 user will use this app at the same time, they will update/delete/create data from 2 or more data sources, each data source are related, I mean that the data from one is related to the data from the other and vice versa.

The main problem is on the state of the data, how could I know if the data that I'm currently seeing is the last one or other user has updated it?

I was researching on this issue and I found several patters to accomplish this.
Do you have any idea which pattern would be the best one?
Ajex poll, push, comet?

Thanks in advance