Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Web Developer in PHP, and also know Javascript and some bit of CSS which is needed for web development. I use Symfony framework to build Websites and Web Application. As now i want to learn new Programming Language, which is best for Web Development(like Ruby, Python), as i have heard about Frameworks like Rails and Django. Which language will be best for Web Development apart from PHP or like PHP?

share|improve this question

marked as duplicate by gnat, thorsten müller, MichaelT, Martijn Pieters, World Engineer Apr 17 '13 at 13:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

It depends on what you are trying to accomplish – Anto Jan 12 '11 at 6:15
yeah thats right @Anto. – Harish Kurup Jan 12 '11 at 6:19
Which language is best to write a good novel? English? Spanish? French? – Abimaran Kugathasan Jan 12 '11 at 6:25
@Abimaran it depends upon which language you Know or comfortable with. yeah i got the point. because you can do the same thing with Ruby, Python, Java or PHP...but depends upon what you know the best. – Harish Kurup Jan 12 '11 at 6:34
up vote 9 down vote accepted

As others have pointed out, it is impossible to give a definitive answer to your question.

To determine what is best in a particular situation you should look at

  • What are the important requirements for the site?
    • Response times?
    • Scalability?
    • Concurrent users needing to be handled?
  • What are your developers' skill sets?
  • How will the site be hosted?
  • Do you have to work with an existing code base?
  • Personal preference of the developers/management etc (Not everyone works the same, hence langauge benefits will vary from person to person)
  • Skills available in the current job market
  • Many more...

The language someone will use will depend on how the questions above are answered.

share|improve this answer
mcGrath yeah depends upon the need of the project. – Harish Kurup Jan 12 '11 at 6:37
and in some cases the alignment of the moon :) – Dan McGrath Jan 12 '11 at 6:39
we cannot say Python is the best language for web over PHP or Ruby, Java, etc...because it depends on the conditions and requirements of project. – Harish Kurup Jan 12 '11 at 6:41
Thank you @Dan McGrath – Harish Kurup Jan 12 '11 at 6:41
No problem @Harish – Dan McGrath Jan 12 '11 at 6:43

It depends on the language you really like.
ActionScript 3 (flash, flex)
Javascript, html, css etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.