简体   繁体   English

如何在MEAN堆栈中使用orientDB

[英]How can I use orientDB in MEAN stack

I am working on mean stack. 我正在研究均值堆栈。 and i want to use orientdb instead of mongodb. 我想使用orientdb而不是mongodb。 I just want to know how can I replace mongodb with orientDB. 我只想知道如何用orientDB替换mongodb。 OR How can I customize mongoose so that i can use orientDB. 或如何自定义猫鼬,以便可以使用orientDB。 Thanks in advance. 提前致谢。

  • MongoDB -> OrientDB Document Graph database server (I suppose you want to use the Document-Graph engine of OrientDB) with orientjs . MongoDB-> OrientDB文档图数据库服务器 (我想您要使用OrientDB的Document-Graph引擎)与orientjs So you do not customize mongoose, you must replace that driver by orientjs (the official Node driver for OrientDB). 因此,您无需自定义猫鼬,必须将其驱动程序替换为orientjs(OrientDB的官方Node驱动程序)。
  • Express -> Express 快递->快递
  • AngularJS -> AngularJs AngularJS-> AngularJs
  • Node.js -> Node.js Node.js-> Node.js

To get started (assuming you have experience with the EAN-part), first read the OrienDB Manuel and start "playing" with OrientDB, using the web based interface, called OrientDB Studio. 要开始使用(假设您有EAN方面的经验),请先阅读OrienDB Manuel ,然后使用基于Web的界面OrientDB Studio来开始“玩” OrientDB。 A excellent introduction on Graph Databases is Graph Databases The Definitive Book on Graph Databases which can be downloaded for free. 关于Graph数据库的一个很好的介绍是Graph Databases关于Graph数据库的权威书籍 ,可以免费下载。 After that it should be easy to integrate it with Node.js using orientjs. 之后,使用orientjs将其与Node.js集成应该很容易。 To get started with AngularJS i highly recommend the Udemy courses "Javascript: Understanding the Weird Parts" and "Learn and Understand AngularJS" . 为了开始使用AngularJS,我强烈推荐Udemy课程“ Javascript:了解奇怪的部分”“学习并理解AngularJS”

UPDATE : oriento driver is deprecated, the official JavaScript client is now orientjs . 更新 :不推荐使用oriento驱动程序 ,现在的官方JavaScript客户端为orientjs This driver is maintained by Orient Technologies itself. 该驱动程序由Orient Technologies自己维护。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM