diegopamio / angular-sails-bind

An angular service to bind scope models to sailsjs models thru socket
MIT License
136 stars 25 forks source link

Do you know if this works with Sails v0.10? #3

Closed iDVB closed 10 years ago

iDVB commented 10 years ago

Has this been yet tested with Sails v0.10? Any known issues?

diegopamio commented 10 years ago

Yes, in fact, it only works on Sails v0.10 (as there were some changes in the socket topic names). The tests are available at: https://github.com/diegopamio/angular-sails-bind/blob/master/test/bindServiceSpec.js .

Those tests use a mock version of sails.socket.io that behaves like the v0.10 version of sails socket implementation.

In addition, if you want to see it actually embedded in sails v0.10 product, you can check https://github.com/diegopamio/darasa or https://github.com/cordoba-software/aikon

Is that what you were looking for?

iDVB commented 10 years ago

Very much so. Thanks!

Have you shown this to any of the Sails core-team and got any view points on it? It looks very promising, as we are already using Angular and Sails with Sockets for our realtime app and running into the redundancy of writing out manually what it seems this service does for you.

D

diegopamio commented 10 years ago

I've mentioned both sailsjs and angularjs accounts when I tweeted about the release of this library, but that's all, I haven't talked to @mikermcneil or anyone in the sails core team to gather input, which could be great.