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

  • From: rajanvn@xxxxxxxxx (Natarajan V)
  • Date: Sat Apr 10 08:54:29 2010

On Fri, Apr 9, 2010 at 8:26 PM, kiran kumar
<kiranprogrammer2009@xxxxxxxxx> wrote:

these are open source technologies which is the best way for developing web
development and application oriented ?

can any one tell please?

php or java or ruby on rails ?

which one is best ?


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.


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.

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

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. PHP needs lesser resources to start with and faster
to initially develop. I am sure Python will also have something
similar.

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).

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

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.

with regards,
Natarajan

Other related posts: