Posted by mbstevens on 10/29/05 19:41
Jonathan N. Little wrote:
> With respect to CGI, Perl is more abstract but compact with the CGI.pm
> than PHP. But I must say that PHP's ability to intersperse bits of code
> thought static HTML with the common namespace has made it a better
> choice for dynamic page creation. I still prefer Perl for for the
> 'behind the scenes' management functions...
>
Actually that's one of the things that bother me about PHP.
The w3c goes through all the trouble to separate markup from display
with CSS, and along comes PHP, and starts mixing programming code with
markup.
Handling pages through Perl templates is much cleaner. HTML::Template
Mason and the Template Toolkit are really nice.
The lack of a facility like CPAN is also a hindrance to PHP. Perl can
be used to write anything from neural networks to higher math and
controlling the Gimp with little more than a use statement.
Navigation:
[Reply to this message]
|