Re: Buxa Coding Guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/8/07, Greg Donald <greg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> 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.

agreed. i use echo so i can indent my code. inline php/html mix bugs me.

although handing off to a templating engine/presentation layer would
be even better of course.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux