Thanks for your input.
Early on, I did have a huge mess of DIV() or TABLE(), or whatever
shortcuts, and they are indeed a maintenance nightmare. But to be
clear, all markup is (once again) generated server-side. The HTML is
Kid (but with little substitution and none of the fancy stuff I miss
from TAL). Key elements would be e.g. <span id="someImportantValue" />
which undergoes a
getElement('someImportantValue').replaceChildNodes(somethingIGotFromJSON)
and maybe a showElement(). The key here is that very little magic
happens in the Kid layer and I wondered if others are seeing that too.
(But I do admit that even keeping IDs in sync between the javascript
and the HTML does break an aesthetic rule. But I consider it a
necessary evil, just like keeping controller dict keys in sync with the
templates.
But it's good to see a spread of usage styles, in any case.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---