PHP has very few templating systems and they just kill php's
biggest advantage [...]

...

Oh gotcha :) Sure PHP has API's to template systms done in other
languages and probably some doenn all in PHP, Perl has those too, but
using them doesn't destroy the entire reason you'd want to use it in
the first place. See? Very dumb PHP is, use it not.

I consider this strange reasoning. Templates are about effectivity. When
it is effective to do what you need to do in little new code, go for
templates. Nothing needs to be destroyed in that process.

Templates are good and the poitn is:

PHP's main "advantage" is embedded PHP/HTML + using a template systems make the embedded garbage useless = PHP is useless :)

If you did use a real templating system with PHP thats when you
"just kill php's biggest advantage" because now there's no need for
its "embedded in HTML" funtionality, bottom line: PHP blows :)

Yes, there are more ways to
"separate application logic and content from its presentation".

Right by killing the biggest "feature" it has :)


What is killing what, in your point of view? Those templates generate
both HTML and PHP, like code that gets some fresh data from some
database. Templates are used for part of the system.

Right, if you're using templates of some sort then dump PHP (IE get rid of all of tis really negative and many times dangerous stuff) and use *any* other langauge that can also do templates and doesn't have its negative attributes.

Another advantage of perl which was not pointed in that web page
is that perl has perldoc

The PHP documentation at http://www.php.net/manual/en/ is very
practical.

What if you are coding on a machine without an internet connection?

Downloadable in many formats and languages.
 http://www.php.net/download-docs.php

But what if you are coding on a machine without an internet
connection :) ?


Where has the difference with perldoc gone? A default PHP installation
includes the documentation.

I see, so why the urls then :)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to