Re: Buxa Coding Guidelines
| From: | Per Jessen | Date: | Sun, 09 Sep 2007 12:32:36 +0000 |
| Subject: | Re: Buxa Coding Guidelines | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261869@lists.php.net to get a copy of this message | ||
Greg Donald wrote:
> On Sun, 9 Sep 2007, magoo wrote:
>> Just wanted to see what you think of the strictness of Buxa,
>> according to their PHP guidelines:
>> http://www.buxaprojects.com/en/php_coding_guidelines.htm
>>
>> In their oppinion stuff like the short PHP init "<?" or inline echo
>> "<?= $var ?>" is forbidden.
>> Do you people code that strict?
>
> I don't put PHP in my HTML. I use PHP to build my HTML, using heredoc
> syntax while doing so. My scripts usually only have a single <?php
> opening tag and never require any closing ?> tags.
I use the PHP/HTML mix - seems to make it easier for me to use apache
language-negotiation. My PHP code is language-neutral, my HTML files
aren't.
/Per Jessen, Zürich