我正在研究平均堆栈。我想使用 orientdb 而不是 mongodb。 我只是想知道如何用 orientDB 替换 mongodb 。 或者 我如何自定义 mongoose 以便我可以使用 orientDB。 提前致谢。
最佳答案
- MongoDB -> OrientDB Document Graph database server (我想你想使用 OrientDB 的文档图引擎) orientjs 。因此,您不需要自定义 mongoose,您必须用 orientjs(OrientDB 的官方 Node 驱动程序)替换该驱动程序。
- express -> express
- AngularJS -> AngularJs
- Node.js -> Node.js
要开始使用(假设您有 EAN 部分的经验),请首先阅读 OrienDB Manuel并使用基于 Web 的界面(称为 OrientDB Studio)开始“玩”OrientDB。关于图数据库的精彩介绍是 Graph Databases The Definitive Book on Graph Databases可以免费下载。之后,使用 orientjs 将其与 Node.js 集成应该很容易。要开始使用 AngularJS,我强烈推荐 Udemy 类(class) "Javascript: Understanding the Weird Parts"和 "Learn and Understand AngularJS" .
更新:oriento driver已弃用,官方 JavaScript 客户端现在是 orientjs 。该驱动程序由东方科技自行维护。
关于node.js - 如何在 MEAN 堆栈中使用 orientDB,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28025441/