Re: Re: Question about template systems

From: Date: Thu, 05 Mar 2009 11:47:37 +0000
Subject: Re: Re: Question about template systems
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.general 
Request: Send a blank email to php-general+get-289358@lists.php.net to get a copy of this message
Robert Cummings wrote:
Is there a reason I shouldn't be doing it that way?
I didn't say you shouldn't. It's just expensive on every page request to regenerate a document node by node. it also strikes me as tedious :/
It's definitely tedious - but I end up writing functions that do the tedious stuff when I can. Paragraph nodes that include several children (span nodes and anchor nodes etc.) are the worst. Not too bad though once you get use to doing it that way. Paragraphs with too many spans and links are usually bad design anyway, so it encourages you to find a way to get your content point across in a better fashion ;)

« previous php.general (#289358) next »