Re: PHP or JSP? That is the question. - Mailing list pgsql-general

From
Subject Re: PHP or JSP? That is the question.
Date
Msg-id 0A5B2E3C3A64CA4AB14F76DBCA76DDA44EF9EE@seifur.hnit.is
Whole thread Raw
Responses Re: PHP or JSP? That is the question.
List 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@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Mark Kirkwood
> Sent: 23. mars 2004 09:28
> To: pgsql-general@postgresql.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
>

pgsql-general by date:

Previous
From: Paul Thomas
Date:
Subject: Re: Problems with pg_dumpall
Next
From: Richard Huxton
Date:
Subject: Re: how to generate a sql file