سؤال

Is there any experience of Rails/Meteor integration ?

I've the idea of smoothly integrate (add) small and light micro-apps, based on the pre-existing Rails/MongoDB application altready in place.

At the moment Meteor is pretty new, but fast rising ... the only examples arountd seems to be on just a side of MV*, what about having a backend MVC on Rails and a client-side MVC on JS Meteor ?

Any Experience ?

UPDATE

I know Meteor "vision" but I've an app entirely written on Rails/MongoID already in place. Instead of trash away everithing and restarting from scratch, I'd like to add small pieces of new appication/functionality one at a time, in a distribuited web services stile. For example, while I have http://examplesite.com/trends on Rails I thought to start developing http://examplesite.com/categories on Meteor but Meteor should be able to call existing MongoID rails models to get the data crunched ... so I'm looking for the best way to integrate Meteor with Rails/MongoID at last to pick up the data.

What's the best way of doing that ?

هل كانت مفيدة؟

المحلول

Check out Backbone.js, it has controllers and can be used inside Meteor.

Other than that, Meteor isn't meant to contact a back-end Rails; while it's possible, it would completely defeat the purpose of what Meteor was meant for. Other than that, there are enough tutorials available.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top