endpnt / andoc

collaborative web tool to enrich content
GNU General Public License v3.0
11 stars 1 forks source link

broadcast new "selections" to users via websockt #1

Open endpnt opened 13 years ago

endpnt commented 13 years ago

all users who work on the same document, should see the ongoing live changes.

Implementation

  1. browser: keep users connected via web-socket once they entered into the collaborative mode.
  2. server: subscribe user to redis publisher / subscriber interface, using the document id as key
  3. server: publish new selections to redis
  4. browser: receive new selection via web-socket
  5. browser: apply new incoming selection to the current document