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

Ruby vs Python vs PHP, What Do You Think?

Discussion in 'Off Topic' started by kkm323, Mar 22, 2013.

  1. kkm323

    kkm323 Well-Known Member

    I will like to hear your opinion on this topic please, which of the those programing language you think is the best to learn and are easy to integrate with MySQL? If there are others feel free to mention them? I also attach this image from here i hope is useful...

    Ingenious likes this.
  2. Ingenious

    Ingenious Well-Known Member

    Interesting thread, looking forward to people's opinions.
  3. Deebs

    Deebs Well-Known Member

    Ruby is a pain for server administrators, well, Ruby on Rails, so many specifics required to get it to work. Actually if I put my sysadmin hat on I would burn Ruby as soon as I see it.
    Luke F likes this.
  4. Brandon Sheley

    Brandon Sheley Well-Known Member

    no .NET love?
    Shamil likes this.
  5. Deebs

    Deebs Well-Known Member

    LOL. Well unless it is behind 20 firewalls and for internal use I can see the .NET love. Perhaps putting Windows based servers on the internet is for another thread :p

    .NET is a great platform if properly protected....
    RastaLulz and Adam Howard like this.
  6. Brandon Sheley

    Brandon Sheley Well-Known Member

    Riess and AWS like this.
  7. euantor

    euantor Well-Known Member

    Ruby has a nice syntax but can be a PITA unless you're developing for a single platform where you know all dependencies. Python is a really great language and has a vast wealth of many libraries with multiple functions - from libraries for complex mathematics developed in academic situations to libraries for use with Django.

    Saying that, PHP is the language I use most. I can use a full library such as Laravel or Symfony if I'm working ona large project or I can build a single page site using the traditional function based method.

    PHP 5.4 and 5.5 are MASSIVE steps forward for the language too, introducing many great new features and generally polishing the languages Object orientated features with things such as Traits, Namespaces, etc. Plus Composer is (IMO) the best package manager out there.
    Luke F likes this.
  8. Jeremy P

    Jeremy P Well-Known Member

    Ruby.. looks cool and I hear good things about it. Expressive language, Rails was once miles ahead as far as web development frameworks go (though not so much anymore). Never used it much because there's so much magic going on behind the scenes to make things happen that it was a bit difficult to understand what was really going on.

    Python.. I love it. My favorite interpreted language hands-down. It's fast, simple, easy to read and understand, and offers tons of functionality. When it comes to web development though, most frameworks poorly glue several 3rd party libraries together.. so it's very inconsistent to write for the web IMO. For smaller projects it's fine with things like Bottle or Flask, but for big projects writing code is a bit tricky because the different libraries follow some different conventions.

    PHP... As far as languages go, it's pretty inconsistent and there's plenty of things to complain about. Raw PHP can be pretty frustrating. However, using a good framework makes PHP relatively painless to use, and it's easy to deploy and ubiquitous enough among hosts to make my choice for web development. I highly recommend using Laravel 4 as a PHP framework. It's not quite production-ready but it's very expressive and offers all the functionality I need in a consistent and easy-to-write manner.
    kkm323 and Ingenious like this.
  9. Deebs

    Deebs Well-Known Member

    Not rubbish. You will not find a .NET application on the internet without it being behind lots of layers of security. The problem is the underlying OS that allows .NET apps to run. It is not that secure.
    Adam Howard likes this.
  10. Brandon Sheley

    Brandon Sheley Well-Known Member


    I'm not even going to argue with you on this.. you're right, carry on (y)
    Shamil likes this.
  11. Deebs

    Deebs Well-Known Member


    game.co.uk and directline.com (I had to secure both these .NET web applications from malicious hacking due to running on the Windows Operating System). Let's both part ways now before we get into the Microsoft vs real operating systems discussion.
    Tracy Perry and Adam Howard like this.
  12. ibnesayeed

    ibnesayeed Well-Known Member

    This infographics is quite old... Things have changed a lot since then. :)

    I personally love Ruby. People say Ruby is the most expressive but then they say Python is more readable... It doesn't make sense to me. What makes Python more readable than Ruby is a mystery for me. I actually find some of the Python syntax annoying and unnecessary. While Ruby has almost natural language like flexible syntax, which allows some of the DSLs written in Ruby feel as if we are executing plan English text. :)

    In my opinion one of the reasons why Python is easier to setup is the fact that several Linux utilities are written in Python so it is already there. PHP on the other hand has advantage of being so popular that virtually every web server hosting company has to offer PHP if nothing else. Setting up Ruby server used to be painful but due to rapid popularity of Ruby on Rails, this is not the case anymore. :)
    kkm323 and Ingenious like this.
  13. Brandon Sheley

    Brandon Sheley Well-Known Member

    I'll leave you with this piece of goodness :)

  14. Deebs

    Deebs Well-Known Member

    hehe, ok, that tells me what? He doesn't provide any experience, it's just a post. Actually forget it, I've been in the enterprise space for decades, spending millions on internet facing websites, using different operating systems and platforms. Ask any Fortune/FTSE Windows shop to use Mono and they would laugh you out the door.

    Btw, thousands of sites running on Windows Server doesn't match millions of sites running on Linux/*BSD. Enjoy your evening.
    Adam Howard likes this.
  15. Brandon Sheley

    Brandon Sheley Well-Known Member

    It was an example, but I'm not here to argue about this ;)
    Some like open source, some don't.
    Deebs likes this.
  16. Deebs

    Deebs Well-Known Member

    If I can help I will but I will also criticise things I think are crap.

    Happy to argue with you in private or public :)
    Adam Howard likes this.
  17. Ingenious

    Ingenious Well-Known Member

    Any chance you could do it in private then, as the thread title is:
    Ruby vs Python vs PHP

    Brandon Sheley and Jeremy P like this.
  18. Deebs

    Deebs Well-Known Member

  19. rollthebones

    rollthebones Active Member

    I prefer Ruby and Python for the communities, the problem with PHP is there are just way too many people who have no clue what they're doing (Hell, look at WordPress). Ruby on Rails is easily my favourite platform, but Django has its place too.
  20. kkm323

    kkm323 Well-Known Member

    Posted on November 16, 2012
    ibnesayeed likes this.

Share This Page