aspose file tools*
The moose likes JSP and the fly likes JSP vs PHP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP vs PHP" Watch "JSP vs PHP" New topic
Author

JSP vs PHP

sriman roop
Greenhorn

Joined: Mar 02, 2013
Posts: 13

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

Joined: Aug 11, 2007
Posts: 4639
    
    5

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

Joined: Jun 06, 2007
Posts: 2713
    
    5

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.


SCJP, SCWCD.
|Asking Good Questions|
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSP vs PHP
 
Similar Threads
question on php and .NET
Java Cookbook
question on php and .NET
JSP, Servlets and PHP
This weeks Giveaway