Also check out the synchronous MongoDB interface that's now included with EWD.js. See:
http://gradvs1.mgateway.com/download/EWDjs.pdf Appendix 5 explains all On Monday, 30 December 2013 18:23:25 UTC, Alexey Petrushin wrote: > > Also had problems with verbosity of mongodb-native driver and created > simplified version http://alexeypetrushin.github.io/mongo-lite > > My reasons for creating it was - in most of the cases I usually need only > about 20% of functionality of MongoDB and don't need rest of it, so, I > tried to make those 20% easy to use. > > Another reason was that I use fibers to eliminate callbacks in my node.js > applications and needed MongoDB driver that supported such mode (see > "Synchronous mode" section in docs). > > On Monday, 30 December 2013 19:18:04 UTC+4, Jason.桂林(Gui Lin) wrote: >> >> node-mongodb-native is the most popular node mongodb driver. But it >> is not easy to use. I think a mongodb driver should exports the db instance >> and collection instance synchronized or promised. So I wrote mongoskin, a >> wrapper layer of node-mongodb-native. >> >> But I personally don't like mongoskin. Why wrap node-mongdb-native, >> why not write a new mongodb driver? >> >> I think node_redis API is good, just return the redisClient instance >> but not callback, so I can inject the redisClient instance into my service >> object, and initial my service. >> >> The bson library is OK, so the protocol of mongodb can be handled. >> >> Anyone have interesting to write one? >> >> >> >> >> > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
