templating without a templating framework
Colin Clark
colin.clark at utoronto.ca
Wed May 28 14:51:15 UTC 2008
Hi Eli,
On 23-May-08, at 9:38 AM, Eli Cochran wrote:
> I thought that it would be tidy if all Fluid components stuffed
> their templates in the same place.
> As well as being tidy, we would use a common CSS declaration to hide
> the templating code (and show the templating code when designing.)
Makes sense to me.
> The reason that I don't want to put the clone-able row inside the
> table is because it makes the code that parses the table more
> complex, as each parse needs to account for the placeholder row.
Yes, that also makes sense. Ideally it would be really nice to have
these in context, but writing selectors to avoid stray template
elements does seem awkward.
It sounds like a problem worth putting a bit more thinking into down
the road, but in the meantime, I'm fine with a single gathering place
for template-related DOM elements.
Colin
---
Colin Clark
Technical Lead, Fluid Project
Adaptive Technology Resource Centre, University of Toronto
http://fluidproject.org
More information about the fluid-work
mailing list