SLUG Mailing List Archives
Re: [SLUG] For great victory!
- To: Some Linux Users Group <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] For great victory!
- From: Jamie Wilkinson <jaq@xxxxxxxxxxxxxx>
- Date: Wed May 2 10:01:01 2001
- Reply-to: Some Linux Users Group <slug@xxxxxxxxxxx>
- User-agent: Mutt/1.3.17i
This one time, at band camp, Catie Flick said:
>If anyone else has some PHP happiness to add here, please do!
Like others have said, PHP sucks for its embedding of HTML in the
code... but there are ways around this; think Gus' mega cfengine.conf
that just includes the other sections.
One thing I miss from using perl cgi are things like (excuse syntax)
table(tr("foo", "bar"), tr("ber", "sod"));
to get around it, I create functions like table_begin(), table_end().
At the end of it, you can hide most, if not all, the HTML away in
include files, and you are left with just a few function calls and your
content. (content? whassat? d'ya like my animated gif?)
PHP sucks, but like mutt, it sucks less than the alternatives.
<Jaq> what's wrong with the default? :)
<jdub> It is poopie.