ember-data-sails-adapter icon indicating copy to clipboard operation
ember-data-sails-adapter copied to clipboard

some questions about this project

Open ComboStyle opened this issue 10 years ago • 2 comments

Hi this project looks pretty cool but it lacks an example so I'm a bit confused.

I read the code and it seems like the socket is never initialized, I want to point out the I've never used socket.io nor SailsJS so maybe I'm missing here something but shouldn't we at least point out to the socket.io client to the listening websocket endpoint?

Also I'm curious if I lose internet connection will the socket reconnect while the connection is established once again?

I've seen that SailsJS has its own 'socket.io' mini wrapper, is this project using it? (talking about v0.10)

Does it work with the embedded support of the newly Ember-Data?, I guess I'm trying to ask is if this project is up to date with the latest sails & ember & ember-data?

Any help for a newbie at websockets will be appreciated :)

ComboStyle avatar Dec 04 '14 12:12 ComboStyle

Hi @kfir124. Unfortunately this project is not up to date with the latest sails and ember-data. I'm working on a prototype over here to shake out some of the problems with sails and ember cli. https://github.com/bmac/podcraft-client

To answer your other questions this uses SailsJS's 'socket.io' mini wrapper. And that code should be responsible for reconnect the socket after the connection is lost.

bmac avatar Dec 05 '14 20:12 bmac

Oh I see thanks בתאריך 5 בדצמ 2014 22:15, "Brendan McLoughlin" [email protected] כתב:

Hi @kfir124 https://github.com/kfir124. Unfortunately this project is not up to date with the latest sails and ember-data. I'm working on a prototype over here to shake out some of the problems with sails and ember cli. https://github.com/bmac/podcraft-client

To answer your other questions this uses SailsJS's 'socket.io' mini wrapper. And that code should be responsible for reconnect the socket after the connection is lost.

— Reply to this email directly or view it on GitHub https://github.com/bmac/ember-data-sails-adapter/issues/37#issuecomment-65847866 .

ComboStyle avatar Dec 05 '14 20:12 ComboStyle