Thursday, March 26, 2015

PURE - Javascript Template Engine

Write your templates in pure HTML

Clean of any inline logic or special tags
CSS selectors are used to bridge the HTML with Javascript actions
Providing a radical separation between the representation and the logicHere we explain why we did PURE back in 2008
And you can ask your questions to the user group

Download pure.js on Github

Where to use PURE?

PURE can be used where Javascript and DOM are available
It can be run server side, but shines client side

If a Javascript library is present in the page( jQuery, dojo, domassistant, mootools, prototype, sizzle or sly )

PURE will automatically extend it with the methods described here: http://beebole.com/pure/

I've written myself a demo. Pay special attention to auxiliar function tmplHandle().