node.js可以取代Ruby吗? [英] Can node.js replace Ruby?

查看:108
本文介绍了node.js可以取代Ruby吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以使用node.js创建一个完整的网站(就像我们使用Sinatra和Rails一样)。

I'd like to know if it's possible to create a complete website using node.js (just like we do using Sinatra and Rails).

此外,是有什么框架和Sinatra和Rails一样好吗?

Also, is there any framework as good as Sinatra and Rails?

这是节点的最佳用途吗?

Is this the best use for node?

问候。

推荐答案

Express 是一个很像基于Node.js的Sinatra的框架。它可用于构建整个网站,具有复杂的路由和所有爵士乐。我不知道这是否是Node的最佳用途,但它是可能的。

Express is a framework much like Sinatra based off of Node.js. It can be used to build an entire website, with complex routing and all the jazz. I don't know if this is the best use for Node, but it is possible.

这篇关于node.js可以取代Ruby吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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