Making Realtime with socket.io integration
Closed this issue · 4 comments
Hi,
this is a really cool framework.i was wondering how easy it will be to integrate socket.io and have realtime feature . One could use the https://github.com/btford/angular-socket-io module on the clientside. my interest will be how to integrate socket.io server side and to the resource methods like you have with sails. I believe this will be better than sails with all that included
I'll make a live demo at some point, but for now you can create a socket.io listener in your back-app then share the socket with the various resources the same way the db is shared, by attaching it to the request via a middleware.
i really will appreciate a live demo or gist of how socket.io will be added to the back end as you explained.
@JonAbrams Any live demo yet. i am really waiting for this feature. i couldn't get it right based on your explanation. maybe a gist will do.
Thanks
Sorry, I haven't had a chance yet. Maybe in the next week or so.
On Thu, May 29, 2014 at 5:21 AM, joshua Oguche notifications@github.comwrote:
@JonAbrams https://github.com/JonAbrams Any live demo yet. i am really
waiting for this feature. i couldn't get it right based on your
explanation. maybe a gist will do.
Thanks—
Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-44525851
.