Re: PHP vs. Java+ [Re: Good open-source CMS packages, etc.?]

From: Benny Hill (
Date: 05/29/04

Date: Fri, 28 May 2004 17:14:22 -0500

On Thu, 27 May 2004 19:24:14 -0600, Jim Cochrane wrote:

*snip a bunch of stuff*

Hi Jim,

   I have written both PHP and JSP based sites. I much prefer doing the
PHP sites. Since I'm just a single data point though you'll just have to
chalk that up to personal preference.

   I don't have any online references but in my personal experience PHP is
more reliable than JSP. One of my clients uses Apache and Resin as their
web/JSP servers. Every so often, for no apparent reason, Resin dies and
has trouble re-connecting to the AS/400's it uses to store data.

   I've never had a problem with PHP.

   PHP is not as mature as Java/JSP. It certainly doesn't have the
object-oriented strengths (and weaknesses I suppose) that Java does.
Since I'm a C++ programmer at heart sometimes I get ticked off at PHP for
it's lack of OO capabilities. Mike Cocke mentioned that everytime
there is a new release of PHP, old stuff breaks. I personally haven't ran
across that but I don't doubt his claim. I do however think that such
problems should be becoming pretty rare now that PHP has continued to

   I'll agree whole-heartedly with Matt Palmer too regarding your people's
skills. If you've got a bunch of Java programmers then you should almost
certainly do things with JSP/servlets. Otherwise I think you should give
PHP a very long look. It's whole purpose for existence after all is to
create web pages. JSP/servlets seem to me to be an adaptation of Java for
doing web stuff.

uh... sorry for being so verbose.


Relevant Pages

  • Re: Newbie questions for the PHP5 experts in this ng
    ... > Is there any such thing as a PHP application (or are PHP solutions just a ... provide a logical grouping of PHP scripts. ... is a bunch of "loosely coupled" scripts. ... The best frameworks take advantage of the Model-View-Controller design ...
  • Re: Accessing POP3 Mail in PHP
    ... Harold Philips wrote: ... Does anyone know of an easy way to access the body of an email in PHP? ... I have a box with a bunch of one line email in it. ... Science, my religion. ...
  • Re: What is the learning curve for PHP?
    ... bunch of JavaScript functionality, but adds its own features. ... PHP was just a bunch of Perl scripts. ...
  • How expensive is globing a dir and including all the files?
    ... I have my 'funcs' dir, full of about 120 files, totaling ~800KB. ... A bunch of little utility functions. ...
  • Re: [PHP] convert numerical day of week
    ... I saw a bunch of bad examples given to you that completely ignore any ... | An application and templating framework for PHP. ... scalable system for accessing system services | ... | such as forms, properties, sessions, and caches. ...