--- Warren Vail <[EMAIL PROTECTED]> wrote:
> I am looking for a comparison of features supported by PHP vs those
> supported by Perl.

You'll find it difficult to identify a feature in one language that's not
in the other. And, where features differ, the same solutions can probably
be achieved with either anyway

> My gut tells me PHP is more robust

This will be unpopular to say, but my gut tells me the exact opposite. I
prefer PHP, and I would not hesitate to recommend it for most Web
applications. However, Perl has been around a lot longer; it's simply more
mature and hardened than PHP.

The difference may be negligible (I certainly feel comfortable relying on
PHP), but if you're going to split hairs, I'd have to tip my hat to Perl
in the robust category.

> current management does not want to fight for PHP as a new
> "sanctioned" language (most managers there have never heard of PHP
> and the resident Java zealots have almost established a monopoly).

Java's a different story. :-)

Having to fight in order to adopt a new technology is always a pain, even
when it is an obvious choice. In this case, the choice isn't so obvious
(Perl will satisfy your needs, I'm sure), so your battle will be
difficult.

> The kind of thing I am looking for is SESSION support, I know it's
> supported by PHP, but not sure about Perl. I don't want to have to grow
> my own session manager.

The session mechanism in PHP is very simplistic (on purpose), so it's not
hard to reproduce. In fact, I hope you do more than "session_start() and
go" in PHP, else you are probably vulnerable to a number of session-based
attacks.

Perl has CPAN for those who want to use an existing session mechanism.

> What would I lose by implementing in Perl (other than my mind)?

Probably nothing, but that last statement is important. A business must
rely on its available resources, and if the developers prefer a particular
language, and all else is even for the most part, it's probably best to
let the developers use what they prefer.

As far as Apache integration goes, I don't think we can match mod_perl,
unless more people get interested in apache_hooks.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
     Coming mid-2004
HTTP Developer's Handbook
     http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to