Robin --
...and then Robin Kopetzky said...
%
% Good evening.
Hiya!
%
% I'm probably going to stir up a hornet's nest but have a question.
Probably so :_0
%
% Does using echo for ALL html pages mean I have a sick mind? Example:
I don't think so.
%
% echo CR, '',
%
On Mon, 2003-12-29 at 20:34, Jordan S. Jones wrote:
> Why make PHP work harder than it needs to?
A decent compile cache will optimize literal concatenation so that only
variables are concatenated at run time.
Cheers,
Rob.
--
..
| InterJ
I use a templating framework in which I put all of my HTML. However,
when I create components that need to output HTML to render themselves
then I use the echo and single quote style also. I find heredoc and
breaking in and out of PHP to be extremely messy looking, not to mention
horribly maintaina
Why make PHP work harder than it needs to?
Jordan
Robin Kopetzky wrote:
Good evening.
I'm probably going to stir up a hornet's nest but have a question.
Does using echo for ALL html pages mean I have a sick mind? Example:
echo CR, '',
CR, ' ',
CR, ' etc...';
I agree. I think embedding the tags is messy and harder to follow.
I do however, treat echo like print. ie echo "The thought would \"have\" to
be clear."; I've not use CR,. I'll have to look at that. Thanks
-Original Message-
From: Robin Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Monday
5 matches
Mail list logo