1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why should I learn Ruby on Rails instead of PHP or python ?

Discussion in 'BlackHat Lounge' started by jujubee3422, Jan 3, 2013.

?

Learn Ruby on Rails or PHP/Python ?

Poll closed Jan 3, 2014.
  1. Ruby on Rails

    0 vote(s)
    0.0%
  2. PHP/Phython

    0 vote(s)
    0.0%
  1. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    I have been learning and brushing up on my HTML and CSS, but now I want to move on to another programming language ummm I have heard it could be quite beneficial, if I learned Ruby on Rails. I was thinking of learning php in the past to become a web developer, but now it seems like learning ruby has better upside........


    What's your take ?
     
  2. synfig

    synfig Regular Member

    Joined:
    Mar 24, 2011
    Messages:
    230
    Likes Received:
    186
    I think it is choice.

    You;ll find rails much quicker to deploy (on development side) and harder on production side. And if you compare code and the overall frameworks and gems then compared to PHP it is better. And if you compare it with the python, there is not much difference because both require cgi or fastcgi on the server side, it's just that you get benefits from the community code and the shared libs. At the end of the day, it's about getting work done.

    I am learning rails these days, it is extremely easy to use rails and is very good to get some projects done compared to php.
     
  3. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    I hear ya now is it possible for me to do freelance work after 3-6 months of learning Ruby...? I already know HTML/CSS....by the way....
     
  4. apoorv

    apoorv Regular Member

    Joined:
    Aug 31, 2011
    Messages:
    301
    Likes Received:
    62
    Development speed is one of the primary reasons. I'd look at Clojure, etc. if you want to focus on development speed and/or technologies that are in vogue.

    PHP vs. anything is mostly about the design of the language which a lot of people loathe for some reason. I get my work done in PHP as quickly as I get it done in, say, Python or Ruby. There are some flaws with PHP but for single focus, small web scripts, it works perfectly fine!

    Ruby right now is hot, so that could be another reason, your paychecks would be fatter. :D

    BTW, you're making the wrong comparison — RoR is just a framework, similar to, say, CakePHP. You'd want to learn Ruby first and then learn RoR.
     
    Last edited: Jan 3, 2013