oadam / dedguenodgo

A wishlist website to help my family keep track of Christmas presents.
https://dedguenodgo.appspot.com/
Apache License 2.0
0 stars 4 forks source link

Push changes in real time to connected users #2

Open oadam opened 10 years ago

oadam commented 10 years ago

Use ServerSentEvent

oadam commented 10 years ago

Could be funny to implement using pubnub. publish key and subscribe key should be in a property file in SRC/main/resources. Grunt should parse the subscribe key and write it in the js

Pull requests are welcome I won't work on this in the near future

oadam commented 10 years ago

Need to add a random pubnub channel id in the party object. Server publish an empty message in this channel every time there is a change. Clients fetch user and presents and set the observables on the appViewModel

oadam commented 9 years ago

Free solution : use firebase to store a last modification date per account