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

ruby on rails vs php for beginners?

Discussion in 'BlackHat Lounge' started by mudbutt, Sep 6, 2011.

  1. mudbutt

    mudbutt Jr. Executive VIP

    Joined:
    Jun 23, 2010
    Messages:
    1,831
    Likes Received:
    4,306
    Location:
    ghosted
    What is a better route to go for someone that knows neither? Done lots of Google-ing on the subject and it seems that most people who start PHP end up RoR a few years down the line...your thoughts?

    Would also like to add that this is to create web based tools and general web development shit. Thanks!
     
    • Thanks Thanks x 1
  2. Ste Fishkin

    Ste Fishkin "I'm watching you.." - Apricot Jr. VIP Premium Member UnGagged Attendee

    Joined:
    May 14, 2011
    Messages:
    1,887
    Likes Received:
    9,243
    Occupation:
    Rands Sex Slave
    Location:
    England
    php baby
     
  3. redmoon

    redmoon Regular Member

    Joined:
    Aug 19, 2009
    Messages:
    245
    Likes Received:
    73
    Never tried learning ruby but php might be the most useful. Especially for IM.
     
  4. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    I would go with php because:

    * it's far more widely used than ruby which means there is a lot more documentation on the net and there is also a lot more software already written in php which you can use / cannibalize.
    * php is totally ubiquitous and installed on every host everywhere.
    * php has its flaws but it's used robustly on some of the highest traffic sites on the net (Facebook, all the big porn tubes sites etc).
    * ruby documentation is pretty scattered and thin from what I can tell.

    If you want to lean a more fully featured scripting language than php I would go with python, which is also a nice clean language, well documented, and it has a great standard library out of the box.

    If you want to learn PHP, I would highly, highly recommend this course:

    Code:
    http://web.archive.org/web/20100621105325/http://www.scriptschool.com/php/
    
    It's very straight to the point and teaches you everything you need to know to get started making useful scripts. It's how I first learned!
     
    • Thanks Thanks x 5
    Last edited: Sep 6, 2011
  5. Fwiffo

    Fwiffo Power Member

    Joined:
    Apr 7, 2010
    Messages:
    562
    Likes Received:
    325
    Occupation:
    Starship Captain
    Location:
    Pluto / Spathiwa
    I'm at the same spot, decided to get in depth with PHP,

    For me the breaker was that most of my web projects are in wordpress, based on PHP

    For me, I'm horrible at learning something if there's no practical application. Having something I can use it for (plugins / wordpress hacks / themes) right now and a whole lot of practical applications and problems that I already need fixed / improved at this moment in time means I'll be more likely to be successful at learning it.

    For web based tools, for what I do there's enough stuff like zennoposter that I can use until my skill gets better later on.

    just my 2 cents
     
  6. Ste Fishkin

    Ste Fishkin "I'm watching you.." - Apricot Jr. VIP Premium Member UnGagged Attendee

    Joined:
    May 14, 2011
    Messages:
    1,887
    Likes Received:
    9,243
    Occupation:
    Rands Sex Slave
    Location:
    England
    What ever you learn try out thenewboston.com
     
  7. tabims

    tabims Junior Member

    Joined:
    Nov 9, 2008
    Messages:
    101
    Likes Received:
    95
    Occupation:
    SEO in Dayton, Ohio. Dayton Web and Social Media M
    Location:
    Dayton, OH
    Home Page:
    i LOVE ruby, but php is more used so good to know too... and amen on thenewboston.com Bucky has some awesome tutes. He's a programming genius, and easy to follow and understand!