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)

In reply to (jeffa) Re: php + Smarty looks like CGI by jeffa
in thread php + Smarty looks like CGI by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.