Re: Buxa Coding Guidelines
| From: | Greg Donald | Date: | Sun, 09 Sep 2007 05:01:35 +0000 |
| Subject: | Re: Buxa Coding Guidelines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261860@lists.php.net to get a copy of this message | ||
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.
Code that contains short open tags or instances of <?= is amatuer in my
opinion.
--
Greg Donald
Cyberfusion Consulting
http://cyberfusionconsulting.com/