[Ilugc] any one can tell which is better php vs java or ruby on rails ?

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Sat Apr 10 20:56:34 2010

On Saturday 10 Apr 2010 8:53:54 am Natarajan V wrote:

There is nothing which is best or worst. Its on how much expertise
that you have yourself on which language. each have it's own
advantages and disadvantages. If you ask me, I would vote for Java. KG
would vote for python, others might vote for RoR.

right


But I found the following (my own observations)

PHP does not enforce good programming techniques. Hence a lot of
programmers tend to write ugly code that is hard to maintain.

right

Python forces you to write neater code, but if you are bad, it can't help

wrong

It depends on where you want to run your server and for what purpose.
Java might require higher resources to start with, but can scale to a
huge data center.

wrong

Recently Twitter moved away from RoR , because it wasn't scalable
enough. Facebook wrote their own PHP pre-compiler to make their pages
faster (scale up).

facebook runs on the pure python tornado server behind nginx

Finally, I would prefer anything that separates logic from
presentation (MVC / MVC2).

MVC  is a rails buzzword - it does not mean anything

Choose something that you are already comfortable with. Stick to
standards and make sure that there is a community to support you.
Learn programming basics first and be very clear about it. This is the
most important part. Programming basics is language independent.


if you know programming - otherwise go for python 

-- 
regards
kg
http://lawgon.livejournal.com

Other related posts: