Ruby on Rails Vs Node.js Which to use? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
leenajose
V2EX    Node.js

Ruby on Rails Vs Node.js Which to use?

  •  
  •   leenajose 2015 年 9 月 12 日 5509 次点击
    这是一个创建于 3806 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2015-09-13 00:49:10 +08:00
    wlee1991
        1
    wlee1991  
       2015 年 9 月 12 日 via iPhone
    Thank you so much for posting so great article:)
    vietor
        2
    vietor  
       2015 年 9 月 12 日 via Android
    alwayschoice newest
    loading
        3
    loading  
       2015 年 9 月 12 日 via iPhone
    you're a bot!
    是吗?

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

    @loading
    sudoz
        11
    sudoz  
       2015 年 9 月 12 日
    @Wangxf 竟然无视大蟒蛇!
    yangkeao
        12
    yangkeao  
       2015 年 9 月 12 日
    @Wangxf 哪里小众了...
    karloku
        13
    karloku  
       2015 年 9 月 12 日
    用途不同... 我们公司的站点应用就是用这两套平台搭建起来的
    zonghua
        14
    zonghua  
       2015 年 9 月 12 日
    I've seen you on OSC
    Wangxf
        15
    Wangxf  
       2015 年 9 月 13 日   1
    @sudoz 亲,我没有无视大蟒蛇,相反我觉得大蟒蛇语法很优雅,但是现实是主流的确是大项目 java (兴许还有 c ++),中小项目 php ,当然也许我目光短浅了,个人看法哈
    @yangkeao 去拉勾网上搜搜吧, php 大城市都是 500 +,甚至二三线城市都能见到 200+,但是这两个已经是个位数了,甚至有些城市没有招
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2464 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 28ms UTC 11:47 PVG 19:47 LAX 03:47 JFK 06:47
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86