Hi,
We developed a template tool to generate HTML from JSON data, client
side.
It is fast and keeps the HTML and the JS logic totally separated.
More information is available at
http://github.com/pure/pure/wikis
Today it works only with jQuery, and should work with frameworks that
implement selectors.
Is there anyone interested in helping us to add some DOMAssistant
methods?
This should be roughly 15-20 lines of easy code for someone with the
knowledge of DOMAssistant.
Mainly:
- how to detect DOMAssistant is available in a page
- Integrate the DOMAssistant selector function as the "pure.find"
method
- and build a DOMAssistant way of the "pure.render" and
"pure.autoRender" methods
For inspiration, the jQuery implementation is available at the bottom
of the pure.js file.
You can download it with the master zip/tar at
http://github.com/pure/pure/downloads/master
Thanks,
Mic