Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are datasources other than Mongo available with Meteor?

Tags:

meteor

Can I use datasources other than Mongo with Meteor? If so, where can I find an example? I'm specifically looking for MySQL, Memcache, and/or Redis support.

like image 654
krazik Avatar asked Apr 15 '12 18:04

krazik


1 Answers

At the moment, you'd have to build a 'driver' to attach any additional data sources to Meteor.

That said, they've defined a 'DDP' protocol, but if it's been documented, I haven't seen it on the web.

If you look at the existing code for the local_collection_driver, you may be able to get a sense of how to do it:

  • https://github.com/meteor/meteor/blob/master/packages/mongo-livedata/local_collection_driver.js

  • https://github.com/meteor/meteor/blob/master/packages/mongo-livedata/mongo_driver.js

like image 149
bmelton Avatar answered Sep 30 '22 01:09

bmelton