RE: PHP vs JSP ?

From: Date: Tue, 30 Jan 2001 12:30:37 +0000
Subject: RE: PHP vs JSP ?
Groups: php.windows 
Request: Send a blank email to php-windows+get-5262@lists.php.net to get a copy of this message
I think it depends mainly on the scale of the project. PHp and JSP can both be used to achieve exactly the same things (i.e dynamically generated pages, tied in with databases, user interaction etc) - it's a lot easier to learn and develop in PHP because you don't have to learn Java first. The big advantage of JSP (and if anyone knows better feel free to shoot me down on this one) is that it can be used within a 'three tiered' web server system. PHP only really works on two tiers - you have your web server running PHP which talks to your database server. JSP solutions such as Dynamo offer a full on triple tiered system with web servers pushing out content, application servers sitting in the middle generating dynamic pages and database servers on the back end. This is hugely scalable, which the 2 tiered PHP solution isn't. On the performance side a noticeable element of JSP is that the scripts are compiled the first time they are run, and then remain in memory as compiled code after that. The result is that although the first request to a JSP script will take a whle, after that they will be lightning fast. In answer to your question then: Both can be used to create powerful dynamic web pages, but PHP has the edge when it comes to speed and ease of development, while JSP is better if you are developing an extremely high load application which will need to be scaled. -----Original Message----- From: Antonio Lopez [mailto:alopez@ingenia.es] Sent: 29 January 2001 11:08 To: php-windows@lists.php.net Subject: PHP vs JSP ? PHP or JSP ? I need to know what language is better to develop powerful dinamic web pages. Thankyou!! =================================================== Antonio López Luna Ingeniería e Integración Avanzadas (Ingenia), S.A. Parque Tecnológico de Andalucía 29590 - Málaga (Spain) Tel. 34-952029300 Ext. 386 Fax. 34-952029309 Web: http://www.ingenia.es

« previous php.windows (#5262) next »