B
Bob
[Crossposted, looking for experts from both for discussion.
Not an argument, just a discussion :-]
As the title says, I'm looking to assess the advantages and
disadvantages of Perl vs. PHP for web (cgi) programming. I'm
a newbie at Perl, and a true novice at PHP but I have lots of
other programming in languages and scripting (eg. ASP) experience.
I know that Perl has the historical advantage in volume and
resources. However, PHP seems to be a strong "up and comer" and
is widely available on web servers.
I think Perl has far greater capabilities as a programming language.
However, it is also _so_ flexible in it's constructs that it is a
little intimidating for someone new to the language. It seems to allow
so many interesting variations that it is at time overwhelming.
(Multiple variables to the left of the assignment statement ? Holy
$hit!
I know I don't have to use all the variations, but I find
them in other programmers code, so I'll need to know them.
PHP seems to be a lot simpler. That's an advantage when starting out.
But, does PHP run out of power? I don't know enough of it to
tell at this point. So, I'm looking for comments.
Most of what i plan to do is fairly basic web work... dealing with
data in an out of databases, simple business calculations, etc.
Thoughts on which is a better course to pursue ?
Thanks,
Bob
Not an argument, just a discussion :-]
As the title says, I'm looking to assess the advantages and
disadvantages of Perl vs. PHP for web (cgi) programming. I'm
a newbie at Perl, and a true novice at PHP but I have lots of
other programming in languages and scripting (eg. ASP) experience.
I know that Perl has the historical advantage in volume and
resources. However, PHP seems to be a strong "up and comer" and
is widely available on web servers.
I think Perl has far greater capabilities as a programming language.
However, it is also _so_ flexible in it's constructs that it is a
little intimidating for someone new to the language. It seems to allow
so many interesting variations that it is at time overwhelming.
(Multiple variables to the left of the assignment statement ? Holy
$hit!
them in other programmers code, so I'll need to know them.
PHP seems to be a lot simpler. That's an advantage when starting out.
But, does PHP run out of power? I don't know enough of it to
tell at this point. So, I'm looking for comments.
Most of what i plan to do is fairly basic web work... dealing with
data in an out of databases, simple business calculations, etc.
Thoughts on which is a better course to pursue ?
Thanks,
Bob