[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
Re: [MacPerl-AnyPerl] Perl and PHP
Thanks Chis for your information.
And good luck for your new job.
Cheers
-Emmanuel
À (At) 10:30 -0500 7/01/00, Chris Nandor écrivait (wrote) :
>At 09.03 -0500 1999.12.31, Emmanuel. M. Decarie wrote:
>>If you know already Perl, is there any advantages to use PHP instead
>>of Perl? Is PHP more efficient at CGIs than Perl?
>
>It is not comparably to CGIs. That is comparing apples and oranges. It is
>comparable only to persistent Perl process, such as in mod_perl, or parsed
>HTML stuff, like PerlScript or whatever. So that said ...
>
>PHP is lightweight compared to Perl, I understand, so it can be faster. It
>also has database access built-in, so you don't need to load in DBI (which
>doesn't matter to me). I doubt that it is more efficient in speed, though
>it is probably more efficient in memory use (mod_perl takes a good few MB
>per program instance). I am not sure how much PHP uses, but I understand
>it is significantly less. I could be misinformed.
>
>If you have enough RAM to handle your mod_perl (or whatever you are using
>Perl with) needs, then there is little reason to use PHP, unless you just
>happen to like the language more (which is probably unlikely, since it is
>basically a less featureful Perl).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel M. Décarie - <emm@cam.org>
---> The Frontier Newbie Toolbox:
<http://www.cam.org/~emm/frontierNewbieToolbox.html>
==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org