4 ms·
Most of templating is relatively simple rules: put attribute foo of object bar inside this div, repeat members of collection baz here. These can just as easily
by bergie 15y ago
Most of templating is relatively simple rules: put attribute foo of object bar inside this div, repeat members of collection baz here.
These can just as easily be described using RDFa as using TAL or Jade or whatever. The benefit of RDFa is that the templating information stays with the page, so client-side can also utilize it.
The library I made for this is https://github.com/bergie/VIE https://github.com/bergie/VIE