Tutorials

Each of the links below will drive you to a simple HTML page with an example.
To see how the example works, view the page source or fire your javascript debugger.

 

Render with directives

In this mode, the HTML and the logic are kept strictly separated.
All the actions, we want PURE to do, are described through directives.

 

Automatic rendering

PURE will map the JSON and the HTML automatically, using classes.
This is the autoRender method.
By somehow abusing the class attribute, this method is a little obtrusive.

Other links