简体   繁体   English

RailwayJS / Express on Railway:一个真正的node.js替代Ruby On Rails?

[英]RailwayJS/Express on Railway: A true node.js alternative to Ruby On Rails?

From looking at the documentation of RailwayJS / Express On Railway it seems like an elaborate NodeJS web–framework to me. 通过查看RailwayJS / Express On Railway的文档,对我来说,它似乎是一个精心设计的NodeJS Web框架。 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? 它建立在ExpressJS之上,提供了很好的生成器和脚手架,并且内置了CoffeeScript支持。有没有人有这个框架的经验,并且会说它是Ruby On Rails,Django之类的真正替代品,因为Express是西纳特拉?

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. 作为这个项目的作者(railwayjs),我可以告诉你:确实,它很酷,使用它,与同事共享,fork repo,并改进它。 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. 但作为开发人员,我每天如何使用这个工具,我告诉你:这是一个非常年轻的工具包(不到1年),它仍然需要更多的爱,而不仅仅是使用开箱即用,作为RoR,我不推荐如果您不完全了解应用程序代码中发生的情况,请在生产中使用它。

So, if you want to have RoR replacement in nodejs in future - use it, and report about issues. 因此,如果您希望将来在nodejs中更换RoR,请使用它,并报告问题。 It motivates me to make this project better. 它激励我更好地完成这个项目。

Thanks for posting. 谢谢发帖。

I don't know if the asynchronous nature of the Node environment will ever be quite as elegant as Ruby for Rails-like applications. 我不知道Node环境的异步特性是否会像Ruby for Rails类应用程序一样优雅。

I say stick to what you're good at. 我说坚持你擅长的东西。 At least until Node supports something like the Actor model to help with callback hell. 至少在Node支持像Actor模型这样的东西来帮助回调地狱。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM