5 ms·
It will be cool if Meteor could be packaged in a gem and be embedded in parts of a Rails app where client side interaction is heavy.
by ricksta 14y ago
It will be cool if Meteor could be packaged in a gem and be embedded in parts of a Rails app where client side interaction is heavy.
- kevincennis 14y agoIsn't Meteor written in Node? Maybe this is an ignorant question -- but how would you integrate it into a Rails app?
- jjaques 14y agoYou're right, it runs on Node. However as the poster above pointed out, there would be little practical use in combining this with another framework. Meteor is really it's own platform. The whole point is the unification of the client and server codebase. I'm not sure about Ember, as I believe it tends to be more opinionated about how much of the page it controls, but Knockout and Backbone are generally pretty easy to use for just a portion of the page. Steve Sanderson (creator of Knockout) has a really good overview of the most popular client side options (both libraries and frameworks). http://blog.stevensanderson.com/2012/08/01/rich-javascript-applications-the-seven-frameworks-throne-of-js-2012/ http://blog.stevensanderson.com/2012/08/01/rich-javascript-a...
- malandrew 14y agoCheck out nodeify. It's a gem that allows you to use node in rails for javascript stuff. https://github.com/dkastner/nodeify https://github.com/dkastner/nodeify
- dmix 14y agoThe whole idea of Meteor is to abstract away the server-side APIs commonly found in JS apps. How does rails fit into that picture at all? Backbone.js and Ember.js are already great for working with rails/REST apps...