develooper Front page | perl.php.sandwich.dev | Postings from October 2005

Re: PHP Template Global Variables

Thread Previous | Thread Next
From:
Scott Lanning
Date:
October 23, 2005 17:35
Subject:
Re: PHP Template Global Variables
Message ID:
Pine.LNX.4.61.0510232049580.3016@box
On Fri, 21 Oct 2005, David Wheeler wrote:
> but I'm starting to lean toward moving these variables directly into the PHP
> namespace for consistency with the Mason and TT burners, as well as for
> simpler code:
>
>  <?= $story->get_title() ?>
>
> Since the Bricolage templates are a relatively controlled environment, I'm
> personally not too worried about the pollution. But what do you think?

I think the same. It's consistent with other burners.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About