JupiterHost.Net: >>>>> PHP has very few templating systems and they just kill php's >>>>> biggest advantage [...] >>>> >>>> There are plenty of PHP templating systems, and coding PHP gets a >>>> lot more pleasant with a good template system. >>> >>> I think what he meant was, most PHP "template" systems are simply >>> drop in php scripts that are normal PHP that gets done (IE >>> include()ed) as part of the page. >> >> >> I was thinking WASP, or Smarty, or some in PEAR. >> http://wasp.sourceforge.net/ >> http://smarty.php.net/ >> http://pear.php.net/search.php?q=template > > 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. >>> 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. >>>>> 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. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>