#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0

    PHP or Ruby on rails for web development


    I am interested to learn something new. I have experience with HTML,CSS and I m going to learn Javascript. I know php is the most popular server side script language. but I have also read about Ruby which is becoming more and more popular year by year. do you think I have to stick to php or Ruby?
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    95
    Rep Power
    13
    Good question. I'm interested in the answer myself. All of my websites are programmed in PHP. But Ruby is getting more and more popular every day. I would like to start a website in Ruby instead of PHP but I don't know if it's worth my time. Does Ruby have lots of advantages over PHP?
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    193
    Rep Power
    12
    Once you switch to Ruby on Rails, you'll never go back!

    I was a PHP developer for over 10 years and just 4 months of using Ruby, I've become a life long fan. The language is elegant.

    Simply put, Ruby is like Mac and PHP is like Windows!

    Saving money is easy with discount codes from Rollback coupons. Coupon codes for online purchases.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2012
    Posts
    60
    Rep Power
    9
    I don't think comparing ruby to mac is a good way to sell it.

    PHP is useful in a greater number of situation where legacy code is involved, or if you want to use drop in libraries, or helper programs.

    If you project is mostly from the ground up then I would definitely use Ruby or Python.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Location
    USA
    Posts
    33
    Rep Power
    0
    These days, I am thinking seriously about learning ruby. PHP is a scripting language, Ruby on Rails is a web development framework based on the scripting language Ruby.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2012
    Location
    Virginia
    Posts
    46
    Rep Power
    3
    Originally Posted by RubyOrPhp
    I am interested to learn something new. I have experience with HTML,CSS and I m going to learn Javascript. I know php is the most popular server side script language. but I have also read about Ruby which is becoming more and more popular year by year. do you think I have to stick to php or Ruby?
    Personally I would say go with PHP first, because there's a lot more out there regarding it than ruby at least in my experience so far. I know php already but I am branching into ruby on rails but the information for setting up the environment correctly for ruby on rails and is typically not all at in one nice single location. If you do do ruby on rails there is a good tutorial book on it located at http://ruby.railstutorial.org/ruby-on-rails-tutorial-book is a good place to start.

IMN logo majestic logo threadwatch logo seochat tools logo