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
>