Using Angular.js with Socket.io and MongoDB?

209 views
Skip to first unread message

Victor Hooi

unread,
Apr 7, 2013, 8:36:29 PM4/7/13
to ang...@googlegroups.com
Hi,

I'm still pretty new to Angular.js and I'm trying to see if I can use it to write a simple tracking app that uses Socket.io to update all clients in realtime, and also persists data into a permanent store (e.g. MongoDB).

I've had a look at Brian Ford's blog post here - http://briantford.com/blog/angular-socket-io.html - which covers the Socket.io side. I'm thinking that I should be able to extend it to add a persistent store.

However, I'm surprised there aren't existing components or projects that provide the Angular.js + Socket.io + MongoDB boilerplate already?

Also, I couldn't even seem to find any tutorials or getting started guides that cover Angular.js + Socket.io + Mongo.DB - Brian Ford's blog post is the closest thing - does anybody know of any other good resources out there?

And exposing Socket.io as a service in Angular.js seems to be something that a lot of people ask about - however, there doesn't appear to be a standard best-practice way to handle this?

Cheers,
Victorz
Reply all
Reply to author
Forward
0 new messages