Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by JMTQp8lwXL on Sunday January 19, 2020 @12:25PM
(#22092571)
I don't understand why the Node community doesn't have an analogous to Rails. I love the Ruby language, but given that much of my work is on the front-end, I'd love to avoid context-switching between two languages for my stack. Also, with some requirements like server-side rendering, being able to natively do that in my web server is nice. I haven't used Rails since the early 2010s.
[ Parent
| on HN ]
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by mpfundstein on Sunday January 19, 2020 @03:31PM
(#22093840)
Because Rails is a huge mega framework that tries to do everything in a very opinionated way.
We need guys love to compose bigger things out of small things. :-)
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by petre on Sunday January 19, 2020 @03:04PM
(#22093641)
They do have Sails but it's nowhere as good as as RoR. At least prefer something fast like Fastify or Koa if using Node.js.
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by cutler on Sunday January 19, 2020 @06:18PM
(#22094832)
Doesn't this kinda prove the point that Node.js is only more performant when used with micro-frameworks like Express? That Sails failed to match Rails should tell you something. A fair comparison with Express would be something like Grape or Rhoda. Node.js itself should be compared with Rack which is pretty fast.
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by JMTQp8lwXL on Sunday January 19, 2020 @10:04PM
(#22095939)
The fact that Sails never caught on to match or exceed Rails usage doesn't mean the main problem was primarily performance. Rails, for one, has a huge incumbency advantage (2004). Second, Rails is just easier than throwing together a pile of NPM modules. Imagine if you had 0 knowledge of the NPM ecosystem. It'd be quite a lot of decision making to evaluate a basket of modules that could emulate all of what rails provides.
Re:Yukihiro Matsumoto: “Ruby is designed for humans, not mac...
by petre on Monday January 20, 2020 @02:23AM
(#22097019)
Thworing together a pile of third party NPM modules is a bad decision anyway. This is precisely why we picked Mojolicious to use as a Perl web framework: minimal dependencies, minimal breakage, reimplements some functionality. It turned out to be a good decision as it's also actively maintained compared to the others.