Tagged Questions
1
vote
1answer
149 views
Populating ember-data table from WebSocket
My backend is sending me this JSON (example):
{
id: 0,
list: [
{username:'user_1', name:'Name1', surname:'Surname1', user:0},
{username:'user_2', name:'Name2', ...
1
vote
1answer
69 views
Access to fields of custum RESTAdapter
I would to reuse my websocket connection defined inside my custum Adapted. The Adapted is defined as follow:
DS.SocketAdapter = DS.RESTAdapter.extend({
socket: undefined,
init: function(){
...
1
vote
1answer
465 views
Ember.js with Websockets / socket.io. Ember API Calls / Recommended Structure for Loading Real Time Data
I'm trying to integrate real-time data updates from the server in Ember.js, using socket.io. I've found https://gist.github.com/brentjanderson/4360857 which is an (incomplete, as far as I can tell) ...
2
votes
1answer
196 views
How do I load pushed record updates using Ember-Data without conflicting with an inFlight transaction?
My Ember/Ember-Data/Rails application pushes data down to the client using WebSockets. I'm adding the pushed data to the store using Ember-Data's loadMany method.
However, if any of the pushed ...
1
vote
0answers
44 views
How to handle a remote delete in the adapter?
It seems that Ember-Data is very well suited to manage change originating from the client, and I've handled changing coming in realtime via websockets with store.load(type, id, data), but I can't ...