in reply to php + Smarty looks like CGI

I been using PHP fairly extensively, and i don't think it is any better then Perl. It is easier for newbies to get stuff up and running with PHP ... but is this a good thing? You can still write dangerous code with PHP, if you are not careful (allowing someone to open an arbitrary file is still a possibility).

I can't remember who said this, but truth be told, PHP is NOT a programming language* ... it is a templating tool. I can understand how someone with little desire for hacking can gravitate so quickly and religiously to PHP. It's the path of least resistance. And as a good friend of mine sings, "the path of least resistance always leads you to the least everytime" ... PHP programmers who think they are clever because they don't have to learn any Perl are just kidding themselves.

And for the record i don't mind working with PHP at all ... it can get a little frustrating at times, but it's heaps better than ASP! ;)

* broquaint reminded me that this is simply not true, he adds "[PHP] is a fully fledged language, and with the advent of php5 it might even become a respectable language."

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on (jeffa) Re: php + Smarty looks like CGI