We are building a server in Haxe to run on the node.js platform. Does anyone have recommendations for how to use the Mongo DB from Haxe when node.js is the platform?
I created a (not complete) externs for node Mongo driver… But you can give a try to GitHub - kevinresol/mongo: Pure Haxe MongoDB Driver
It seems like there are externs for mongo in the nodejs library (http://lib.haxe.org/p/nodejs/). We were using hxnodejs (http://lib.haxe.org/p/hxnodejs/) which seems not to support Mongo.
It seems like these libraries are trying to solve the same problem. Is it possible to use both, or should we choose one?
And I just noticed that js-kit from GitHub - clemos/haxe-js-kit: Haxe tools and externs for Javascript and Node.js supports mongoose. So, it seems that’s another option.
I knows that Mongo guys not like mongoose very much any way… Create externs is super easy