Apart from a (solvable) callback hell, node-mongodb-native is a good and easy to use driver. I see no need to write a new one whatsoever.
 
If you want a wrapper to reduce callbacks, "mongode" will do the job just fine (while being a really thin wrapper so you don't even notice it at times).
 
 
30.12.2013, 19:18, "Jason.桂林(Gui Lin)" <[email protected]>:
    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.

--
--
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.

Reply via email to