public
Description: PURE Unobtrusive Rendering Engine for HTML
Home | Edit | New

Home

PURE version 2 is out for trial. Your feedback is welcome.
DownloadRelease Notes

PURE Unbobtrusive Rendering Engine

A simple and ultra-fast templating tool to generate HTML from JSON data

The representation (HTML) and the logic (JS) remain totally separated

Unobtrusive…Really?

We started PURE for an internal project. As we found it was a quite new and refreshing way of building web pages, we decided to put it open source.

If you get data as JSON services and want to render your HTML on the browser, PURE will certainly help you.

Some more information here…

 

Get started with some examples

The auto-rendering capabilities of PURE are shown here.
By following some conventions on class names, PURE matches the HTML and the data automatically.

Get more control with Directives

If you want to achieve true unobtrusivity, or need full control over the transformation, directives are here for you.

PURE Methods

pure.autoRenderTransform your HTML from JSON data automatically
pure.renderTransform your HTML from JSON data with directives
pure.mapApply directives to your HTML
pure.compileCompile your HTML to a JS function

PURE as a jQuery plugin

jQuery.autoRenderTransform your HTML from JSON data automatically
jQuery.renderTransform your HTML from JSON data with directives
jQuery.mapDirectiveApply directives to your HTML
jQuery.compileCompile your HTML to a JS function

The jQuery plugin page.

PURE as a rendering engine for your JS framework

If you know Dojo, YUI, or other libraries…
Please collaborate on this. Only 10 lines of codes are needed.
Have a look at the file pure.js and look how it was done for jQuery, DOMAssistant, Mootools, Prototype, and Sizzle
Any library that has selector functionality could work with PURE.

 

COPYRIGHT

Copyright © 2008 Michael Cvilic – BeeBole. All Rights Reserved

PURE is an Open Source Software. You can use, redistribute and/or modify it under the terms of the MIT Licence.

Last edited by squadette, Sun Oct 04 13:21:08 -0700 2009
Home | Edit | New
Versions: