php-windows Digest 31 Jan 2001 00:29:16 -0000 Issue 420

Topics (messages 5262 through 5263):

Re: PHP vs JSP ?
        5262 by: Simon Willison

Re: PHP Messages
        5263 by: Tom Mathews

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


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:[EMAIL PROTECTED]]
Sent: 29 January 2001 11:08
To: [EMAIL PROTECTED]
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





Ta

I forgot about the 'expose PHP' directive

Tom

Ryan Grove wrote:

> Comment out line 113 (or thereabouts) of your php.ini file. That
> should do the trick.
>
> --
> Ryan Grove
> [EMAIL PROTECTED]
> http://wonko.com/
> ---------------------------------------------------------------------
> Every 10 seconds, somewhere on this earth, there is a woman giving
> birth to a child. She must be found and stopped.
>
> [Pablo]
> > Tom:
>
> > I'm having the same problem using the CGI version of PHP, but if you
> > install it as an Apache Module, the problem goes away.
>
> > Saludos,
>
> > Pablo
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> > Friday, January 26, 2001, 9:00:46 AM, Tom wrote:
>
> TM>> I've just installed PHP 4-04pl1 on a new NT/Apache box and can't
> TM>> remember how to turn off the very irritating
> TM>> "X-Powered-By: PHP/4.0.4pl1 Content-type: text/html "
> TM>> message that appears at the top of any script generated page.
>
> TM>> Can anyone please remind me how to get rid of this.
>
> TM>> Cheers
>
> TM>> Tom
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


Reply via email to