我应该使用Node.js而不是Rails用于实时WebApps吗? [英] Shall I use Node.js Instead of Rails for Real-time WebApps?

查看:81
本文介绍了我应该使用Node.js而不是Rails用于实时WebApps吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个复杂的Web应用程序,该应用程序必须使用实时数据并向用户显示该数据。

I'm in the process of building a complex web app that must work a lot with real-time data and showing that data to the user.

鉴于我已经习惯了Rails,我想知道是否有一个很大的优势就是转储rails并使用node.js来构建应用程序,或者是否有我可以在Rails中获得Node.js的实时优势。

Given that I'm more used to Rails, I'm wondering if there's a big advantage of dumping rails and use node.js to build the app or if there's a way I can have the real-time advantages of Node.js in Rails.

更好的是能够使用Node.js和Rails。这是可能吗?

Better would be to be able to use Node.js and Rails. Is that a possibility?

谢谢

推荐答案


最好是能够使用
Node.js和Rails。这是
的可能性吗?

Better would be to be able to use Node.js and Rails. Is that a possibility?

恕我直言,结合两全其美是一个非常好的主意,因为你可以使用你现有的体验构建Web应用程序的标准MVC部分,并将node.js用于特定的基于实时的元素。这不仅可以拓宽您的技能,还可以学习如何使用适当的工具解决各种问题的新技术。

IMHO combining the best of both worlds is a very good idea since you can use your existing experience to build "standard" MVC parts of your web application and use node.js for specific real-time based elements. This can not only widen your skill set but you can also learn new techniques on how to solve various problems with appropriate tools.

这篇关于我应该使用Node.js而不是Rails用于实时WebApps吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆