|
Posted by Chung Leong on 06/20/06 21:54
msch-prv@bluewin.ch wrote:
> Would such an approach be more efficient that the traditional
> line-by-line approach wrt. debugging, maintenance, etc. ? (I really
> dread mixing php and html.). While I like Smarty's templating approach,
> it seems Smarty still requires linear coding to do code translation.
That approach sounds good in theory but I've found it doesn't work very
well in practice. User interface tend to require a lot of little
tweaks, sometimes to work around browser difference (layout quirks,
etc.), sometimes just be make things look aesthetic pleasant.
"Shimming" a page, as some might call it. At times it's hard enough to
get one page to look right, let alone trying to make the same piece of
HTML work in multiple locations. A lot depends on how tight a design is
visually. When it's unforgiving, you want to give yourself more
flexibility.
Navigation:
[Reply to this message]
|