Re: PHP or JSP? That is the question.

From: <lnd(at)hnit(dot)is>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: PHP or JSP? That is the question.
Date: 2004-03-23 10:40:36
Message-ID: 0A5B2E3C3A64CA4AB14F76DBCA76DDA44EF9EE@seifur.hnit.is
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It may be added to the Mark's points bellow that PHP has more libraries in
the out of the box setup (like regular expressions) but PHP is interpreted
(right?) while JSP is compiled: when I was making decision I have chosen JSP
because of "compiled" criteria: I do like the idea to catch as many bugs as
possible at compile time and rather hate "interpreted" development.

> In terms of installing and configuring, well PHP is just an Apache
> module, so it is reasonably easy to get going.

But once JSP starts running - it does run. One has to invest into this
setup/configuration job once.

Brgds, Laimis

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Mark Kirkwood
> Sent: 23. mars 2004 09:28
> To: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] PHP or JSP? That is the question.
>
>
> In terms of getting a page up and working, then PHP likely to be
> quicker, as its pretty easy to learn.
> Java kind of demands you learn more "machinary" before doing
> much, but
> it may provide you with more capability once you get
> comfortable with it.
>
> In terms of installing and configuring, well PHP is just an Apache
> module, so it is reasonably easy to get going.
> To get JSP's going you really need to use a servlet engine
> (e.g Jakarta
> Tomcat) - you dont *actually* need Apache httpd at all in this case
> (there are reasons to have it tho, and there is an Apache
> module to link
> 'em - mod_jk or mod_jk2).
>
> To further confuse, there are a number open source J2EE engines that
> offer more functionality than Tomcat - (Jboss and Jetty come
> immediately
> to mind).
>
> Any of these would actually be a good choice - hope I have helped :-)
>
> regards
>
> Mark
>
> Andrew Falanga wrote:
>
> > So, what I'm wondering is, which platform offers better
> (more stable,
> > ease of use, ease of maintainability, etc.) support for developing
> > such an application. One consideration that has been brought to my
> > attention is that PHP is natively supported by Apache and
> JSP requires
> > a separate interpreter (Jakarta or whatever).
> >
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-03-23 11:52:14 Re: how to generate a sql file
Previous Message Neil Conway 2004-03-23 10:00:14 linked list rewrite