Create OpenFL game + Neko server + Mongodb?

Hi,

I’m looking at creating a game in OpenFL / HaxeFlixel. I noticed there’s a MongoDB driver for Haxe for targets that support sockets (like PHP, C++ and Neko). I was thinking of accessing an Internet-based database from the game from a variety of targets like Android, iOS, and Flash. Can I use the NekoVM as a server that can process requests from the game app and return JSON-formatted data queried from a Mongo database?

Sounds like it would work :wink:

Totally possible,

for a neko server have a look at mod_tora: http://ncannasse.fr/blog/mod_tora

You can do a “normal” client/server, but I’d recommend remoting: http://old.haxe.org/doc/remoting