MongoDB is written in js then the interface is pretty straightforward. remember with MongoDB even with php, u can make use of `this`... and also jj regex.
I gave a try with MongoDB REST Console (http native) it works well from a browser but i was unable to connect using angular $http nor $resourse, the url must look like that : http://server:port/database/collection/ with trailing a "/" at least, i've seen from browser the trailing "/" is eated by angular... and also i got back 0 kb... i'll give another tomorrow morning it's 8H eve here. 2014/1/7 Sander Elias <[email protected]> > Yvon, > > Ah, I see. a little while ago I wrote a super simple rest interface in > node for an demo. It is utilizing an json storage. There is not that much > too it. If you are interested I can see if I can still find that code. It > is demo code, so not battle tested though! > Beside that, there is a world of things in between sending off everything > via websockets and a full rest interface. I don't know how the mongoDB <-> > nodejs interface is, but if you want full stack JS, it is certainly > possible. > > Regards > Sander > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/uf_hoX9W8P8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/groups/opt_out. > -- [email protected],2.384858688 -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
