use Perl Log In
Comparison Between PHP and Perl
Giorgio Valoti writes "Hi all,
I was asked to make a comparison between PHP and Perl based solutions
for dinamic web sites and/or web apps. I appreciate the power,
flexibility and portability of Perl, but what about PHP? Has someone of
you tried these solutions and doesn't mind to share the pros and cons?
"
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

PERL vs PHP (Score:1, Interesting)
Re:PERL vs PHP (Score:1, Interesting)
Re:PERL vs PHP (Score:1, Interesting)
I too would like to see some timing characteristics of mod_perl vs PHP. A good test would be programs that do the following:
(Keep in mind that I don't know or use PHP; but if anyone has some good data that could change ;-)
I'd be interested in memory consumption as well as timing if anyone is
Re:PERL vs PHP (Score:1, Interesting)
On the other hand, mod_perl requires some tricks to minimize total memory usage. But those tricks are well-known and documented by now.
PHP vs Perl (Score:1, Interesting)
On another hand, it does a nice job with HTTP handling. Form
Re:PHP vs Perl (Score:1, Interesting)
This is actually one of the things I don't like about PHP and other, similar tools like ColdFusion. I used Cold Fusion for years and have evaluated PHP as a replacement. Embedding code in the HTML gets messy fast. For smallish applications it's not too bad, but if you have to do complex or large applications, trying to work around the HTML get's frustrating.
I prefer to keep the code and the content as separate as possible.
Re:PHP vs Perl (Score:1, Interesting)
Agreed. But for quick forms processing, canned queries, and prototyping it works well. Rigorous adherence to coding style standards helps a great deal. (which is true for any other programming venture)
I prefer to keep the code and the content as separate as possible.
As do I. Templates and fully dynamic, database-driven sites are the things I am starting to focus my attention on.
Re:PHP vs Perl (Score:1)
Re:PHP vs Perl (Score:1)