Meteor 的不同数据库和前端 [英] Different DB and front end for Meteor

查看:33
本文介绍了Meteor 的不同数据库和前端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我想在 Meteor 的后端使用与 Mongo 不同的数据库,并且还想在前端使用像 D3.js 这样的可视化库.目前有可能吗?如果没有,我自己添加它会有多复杂?谢谢

Lets say I want to use a different DB than Mongo in Meteor's back-end and also want to use a visualization lib like D3.js on the front-end. Is that possible at the moment? How complex would it be to add it by myself if not? Thanks

推荐答案

https://github.com/meteor/meteor/tree/master/packages/mongo-livedata 文档表明,如果您想替换数据库功能,这将是开始的模块.

https://github.com/meteor/meteor/tree/master/packages/mongo-livedata the documentation indicates that this would be the module to start with if you wanted to replace the database functionality.

您可以通过提供其他数据库来替代 MongoDB服务器端数据库驱动程序和/或客户端缓存实现替代 API.mongo-livedata 是一个很好的起点这样的项目.

You can substitute another database for MongoDB by providing a server-side database driver and/or a client-side cache that implements an alternative API. The mongo-livedata is a good starting point for such a project.

-- http://docs.meteor.com/#data

这篇关于Meteor 的不同数据库和前端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆