Friday, October 26, 2012

Re: RPC call from server to client



On Friday, October 26, 2012 8:12:03 PM UTC+2, Mike Dee wrote:
I wonder how this is done in Google Docs? The approach may be a bit of overkill for a chat client though. Multiple users can edit a word processing document or spreadsheet simultaneously.

I've seen talks about how this is done conceptually.  It involved the command pattern and there was a way to ship (serialized) objects from server to client.  I think it used the Google Chat protocol.


Docs being done in Closure, it's probably using BrowserChannel. If you run on AppEngine, you can use the Channel API. Otherwise, use WebSockets or anything Comet-like (long-polling).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/weZ23JXGgRkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment