35 ms·
And did you forget about slash? It still exists and is maintained. Even PHP itself was originally written in mod_perl. I didn't say you can't write good stuff
by ars 10y ago
And did you forget about slash? It still exists and is maintained. Even PHP itself was originally written in mod_perl.
I didn't say you can't write good stuff in mod_perl, but rather it's slower and harder. Using perl as a template language is simply using the wrong tool for the job, that's all.
And I say this having done both.
Think about the site you wrote: Did you have to spend a lot of energy and time writing modules to make handling HTML easier? Did you write functions to deal with form input?
Was the site successful because you essentially wrote an HTML handling framework?
- sciurus 10y agoYour argument is that PHP is better than Perl for web development because PHP is a better suited for use directly as a templating language? That may be true, but I don't think it's particularly relevant given the long existence of templating engines for both. The PHP developers I know don't use PHP as their templating language anymore. They use Twig, Smarty, Blade, etc...