Advertisment

Major release for javascript 'PURE'

author-image
CIOL Bureau
Updated On
New Update

BANGALORE, INDIA: With comments and requests made on PURE discussion group, the PURE group has been able to bring PURE (PURE Unobtrusive Rendering Engine) to its next step.

Advertisment

This release contains a few corrections but also a lot of new features:

  •  
  • Recursive Template Call
  • Functions as directive are called by reference and not serialized
  • Attach events to your HTML
  • Change the id of the template root node (as any other attribute)
  • Better string value handling
  • Use of named properties in iteration "obj.prop" as well as "obj('name')"
Advertisment

There are also some changes made to the PURE environment:

  • The Home page and the Getting Started page have been re-done, including more examples
  • The source code moved from Google Code to GitHub
  • You can find now a technical documentation on the GitHub Wiki
  • You can report bugs on Lighthouse
  • There is a dedicated jQuery Plugin project
  • You can discuss about PURE in French on our French discussion group

THe community is actively looking for help in order to port PURE to other JS libraries such as DomAssistant, Dojo, Mootools, Prototype, YUI. Suggestions and messages can be left at the discussion group.

Auto Rendering: a new PURE method takes your HTML and your JSON data and merges them automatically. The class attribute is used to map the HTML and the data. (Read more about autoRender and its jQuery version on our Wiki).

tech-news