Rails3 or Express.js? who is more efficient during development?

For a new web project like kijiji, if I want faster development (the faster the better), what should I go with? I know some rubies and javascript, but not the elite and have never done a project on any of them. Coding is my hobby, not my job. Any suggestion? Thank you in advance.

+4
source share
2 answers

Express is more like Sinatra than Rails. It is much smaller, simpler and more accurate than Rails. I do not think this is a fair comparison.

But what the hell are my thoughts while I'm here:

The Node community is growing rapidly, but it is still nowhere near the size or momentum of the Rails community. All in all, you are likely to find more help and more kindred spirits with Rails. Node and Express will need to learn more about themselves.

In my experience, the Rails / Ruby community has much better testing tools than Node / Express. Damn, they have the best tools for this from any community I've seen :)

Express is poorly documented. The manual on their page is a good start, but it is. You'll find yourself digging through code, obscure blogs and github repositories that are looking for information.

Access to data? He built right in Rails and its main body. Express doesn't care about your data layer at all (again, it looks more like Sinatra). You will need to decide what type of access / access level you want to use and see what Node support is for it.

I really like Rails and Express. But if the project was of any decent size, I would probably choose Rails myself.

+9
source

They are both very different, so it depends on your goals. I suggest Rails as it is more mature and you will get better community support if you have any problems. Rails Active Support Core Extensions also provide you with a ton of useful helpers that can save you a lot of time developing your web application.

Otherwise, just go to what interests you the most.

0
source

Source: https://habr.com/ru/post/1345104/


All Articles