RailwayJS/Express on Railway:Ruby On Rails 的真正 Node.js 替代品?
查看 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
作为这个项目(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.
我不知道 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.