leenajose
V2EX  ›  Node.js

Ruby on Rails Vs Node.js Which to use?

  •  
  •   leenajose · Sep 12, 2015 · 6112 views
    This topic created in 4081 days ago, the information mentioned may be changed or developed.
    The famous Node.js used for server-side and networking applications is an open source and a cross-platform, run-time environment. With its application written in JavaScript, the Node.js development services have been, of late, become highly sought after.

    Ruby on Rails, on the contrary, is a web application framework. This model-view-controller framework offers default structures for a web service, web pages, and database. All that that, many a times, a question being asked is, which to use! Comparison of the two is also sought. So here we do it. Read on...

    Frankly, they are poles apart

    Node.js is not a framework. It is also not a new language. As mentioned above, it is an application runtime environment. Simply put, it enables writing server-side applications in JavaScript. Node has got low-level routing. Contrary to Node, Rails is an opinionated framework. As known to many, it is written in Ruby language.

    Development speed

    With regard to speed of development, Ruby on Rails scores well. A CRUD application with database migrations can be developed with the use of only a few commands through the command line using generators. However, a Node.js developer, building a web application, gets to find the modules and include them. Since there is a practical need for downloading a module, Node.js takes a good amount of time.

    Learning curve

    It isn't difficult to learn Rails. The main reason being that the availability of umpteen tutorials and courses. However, during the course of learning, it is important to understand things such as arrays, classes, objects, variables, models and Ruby level methods. Coming to the learning aspect of Node.js, the learning curve is very much less than Ruby on Rails. What sets Node apart is that it is not only the developers having a C or Java background have accessibility, but even the front-end developers can easily pick up.

    Source Link: http://agriyaservices.blogspot.in/2015/09/ruby-on-rails-vs-nodejs-which-to-use.html
    15 replies  •  2015-09-13 00:49:10 +08:00
    wlee1991
    wlee1991
    Sep 12, 2015 via iPhone
    1
    Thank you so much for posting so great article:)
    vietor
    vietor
    Sep 12, 2015 via Android
    2
    alwayschoice newest
    loading
    loading
    Sep 12, 2015 via iPhone
    3
    you're a bot!
    是吗?

    @livid
    chengzhoukun
    chengzhoukun
    Sep 12, 2015
    4
    Life is short, I choose Python.😏
    acrisliu
    acrisliu
    Sep 12, 2015 via Android
    5
    I choose both.
    weifengzi2009
    weifengzi2009
    Sep 12, 2015
    6
    1 楼和 2 楼的语法……
    csking119
    csking119
    Sep 12, 2015
    7
    @weifengzi2009 也许是为了幽默吧~😄
    djyde
    djyde
    Sep 12, 2015
    8
    Node.js 是一个 platform ,给 JavaScript 提供了一些更接近 System 和 Network 的 API
    Wangxf
    Wangxf
    Sep 12, 2015
    9
    都是小众语言,有极客精神的玩玩,没极客精神的还是玩好 php , java 吧
    hantsy
    hantsy
    Sep 12, 2015
    10
    It seems @leenajose is very active in Chinese communities, I remember have read her posts in OSC discussions.

    @loading
    sudoz
    sudoz
    Sep 12, 2015
    11
    @Wangxf 竟然无视大蟒蛇!
    yangkeao
    yangkeao
    Sep 12, 2015
    12
    @Wangxf 哪里小众了...
    karloku
    karloku
    Sep 12, 2015
    13
    用途不同... 我们公司的站点应用就是用这两套平台搭建起来的
    zonghua
    zonghua
    Sep 12, 2015
    14
    I've seen you on OSC
    Wangxf
    Wangxf
    Sep 13, 2015❤️1
    15
    @sudoz 亲,我没有无视大蟒蛇,相反我觉得大蟒蛇语法很优雅,但是现实是主流的确是大项目 java (兴许还有 c ++),中小项目 php ,当然也许我目光短浅了,个人看法哈
    @yangkeao 去拉勾网上搜搜吧, php 大城市都是 500 +,甚至二三线城市都能见到 200+,但是这两个已经是个位数了,甚至有些城市没有招
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 04:31 · PVG 12:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.