ember.js - Long polling with EmberJS / Ember-Data? -


i have setup basic first application can add , remove names list, added/removed database using restful api, using ember-data default rest adapter.

i'd implement form of polling/long-polling interface remains up-to-date.

so example, lets open 'list' in 2 tabs, delete few names in 1 tab - i'd changes (eventually) show in other tab.

how can done ember?

what want job websockets, allow push changes models server ember app whenever happen. type of approach can take care of keeping thing in sync between tabs. recommend checking out socket.io, has great client-side js library , many server side libraries. default try use websockets, better long-polling, degrade long-polling if needs to. might force change bunch of application set-up, consider "right" way go.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -