Instantiating components on template markup
Posted by: More Whidbey stuff,
on 29 Nov 2008 |
View original | Bookmarked: 0 time(s)
All client-side template engines enable you to create HTML (fell free to go duh). What they dont all allow is the creation of event handlers and components over the markup they generate. The general approach with those engines is to do a second pass of code over the markup to create handlers and components. This is quite unfortunate as this generally requires some knowledge of the markup (which plays against separation of concerns) or something like the introduction of marker CSS classes into the...