RailwayJS/Express on Railway:Ruby On Rails 的真正 Node.js 替代品?

发布于 2024-12-01 23:21:30 字数 323 浏览 0 评论 0原文

查看 RailwayJS/Express On Railway 对我来说,它似乎是一个精心设计的 NodeJS Web 框架。它构建在 ExpressJS 之上,提供了很好的生成器和脚手架,并且内置了 CoffeeScript 支持。有没有人有过这个框架的经验,并且会说它是 Ruby On Rails、Django 等的真正替代品,就像 Express 一样西纳特拉?

From looking at the documentation of RailwayJS/Express On Railway it seems like an elaborate NodeJS web–framework to me. It is built on top of ExpressJS, offers nice generators and scaffolding and has CoffeeScript support built right in. Does anyone have experience with this framework and would say that it is a true alternative to Ruby On Rails, Django or the like as Express is to Sinatra?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

白馒头 2024-12-08 23:21:30

作为这个项目(railwayjs)的作者,我可以告诉你:当然,它很酷,使用它,与同事分享它,分叉存储库并改进它。但作为开发者,每天如何使用这个工具,我对你说:这是一个非常年轻的工具包(不到 1 年),它仍然需要更多的爱,而不仅仅是开箱即用,作为 RoR,我不推荐如果您不完全了解应用程序代码中发生的情况,请在生产中使用它。

因此,如果您希望将来在 Node.js 中替换 RoR,请使用它并报告问题。它激励我把这个项目做得更好。

感谢您发帖。

As author of this project (railwayjs) I could tell you: sure, it's cool, use it, share it with colleagues, fork repo, and improve it. But as developer, how use this tool every day, I say to you: this is very young toolkit (less than 1 year old), it still needs more love than just use-out-of-box, as RoR, I not recommend to use it in production, if you are do not completely understand what happens in the app code.

So, if you want to have RoR replacement in nodejs in future - use it, and report about issues. It motivates me to make this project better.

Thanks for posting.

冰葑 2024-12-08 23:21:30

我不知道 Node 环境的异步特性是否会像 Ruby for Rails 类应用程序一样优雅。

我说坚持你擅长的事情。至少在 Node 支持像 Actor 模型这样的东西来帮助解决回调地狱之前是这样。

I don't know if the asynchronous nature of the Node environment will ever be quite as elegant as Ruby for Rails-like applications.

I say stick to what you're good at. At least until Node supports something like the Actor model to help with callback hell.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文