Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP vs PHP

 
sriman roop
Greenhorn
Posts: 13
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is best? I saw tat many blogs , forums , social networking sites runs on PHP... not on JSP.. Is there any flaws in the JSP language ? Why PHP is more popular than JSP ?
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your criteria for the definition of "best"?

It is easier (or faster) to throw together some demoware using PHP than it is to build a scalable application in Java, JSP, HTML, CSS, javascript, etc. Sometimes that is exactly what is needed. Sometimes its a disaster and as soon as you do a public release, you have to rewrite all the code.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me ask you what is best a screw driver or a hammer, pair of scissors or knife?
Answer to your question same as answering my questions above. Each of the above serves a specific purpose. So you can cut vegetables with a pair of scissors, but that is not what people do.
Both PHP and JSP have their own domains, you can find numerous sites implemented using JSPs. What makes you think that JSPs have flaw?
sriman roop wrote:Why PHP is more popular than JSP ?

Where did you find that PHP is popular over JSP?
One reason I know for using PHP for relatively small and not so business logic involved sites is the development cost and hosting cost (both are less for PHP).
Then its hosting providers like GoDady which do not support JSP hosting and provide ease of PHP development through utility/IDE (?) like Drupal.


P.S I know Drupal is actually a CMS, but I have used it to build a PHP site.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic