Why do I need Mongoose or Mongojs for Node.js?

Major Questions --------- Currently I'm very confused, the main questions are: **What is the use of Mongoose/Mongojs?** What would be different if I run Node.js without Mongoose/Mongojs? I can't find any good explanation of the big picture of how Mongoose or Mongojs fits together with Node.js. Mongoose's slogan: "elegant mongodb object modeling for node.js" is not helping. Minor Questions ------ Btw, I think Mongoose and Mongojs are doing the same type of thing for Node.js (i.e. interchangeable), but [this page](https://github.com/joyent/node/wiki/modules#mongodb) seems to be describing Mongojs quite differently from Mongoose: "Simple driver that emulates the mongodb API as much as possible." So I might be wrong in putting Mongoose and Mongojs together. If so, please clarify as well. --- Maybe I shouldn't use Mongojs since stackoverflow doesn't even have a tag for it. If so, just ignore everything I said above about Mongojs. --- While on the topic of giving the big picture of Node.js with Mongoose and Mongojs, what else on [this page](https://github.com/joyent/node/wiki/modules#mongodb) should I know? Thanks.

以上就是Why do I need Mongoose or Mongojs for Node.js?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » Node.js答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准