My favorites | Sign in
Project Logo
                
Blogs:
Feeds:
Groups:
People details
Project owners:
  francisco.brito, brian.klug
Project committers:
lcollett, brendan.bobrien, ryan.gates

gNius is a 100% client-side Javascript template engine. It features numerous ways to iterate over Javascript objects, conditionally show markup, transform data, and more from within your HTML application.

A GTD-based task management program, Giddy, is provided as the sample or reference implementation.

Imagine you have a Javascript object (or JSON snippet):

var tasks = {
  'walk the dog': {done: true},
  'buy some groceries': {
    start: '12/21',
    tasks: {
      'get bread': {done:true},
      'get milk': {}
    }
  }
};

Then some HTML:

<table>
  <tr iterate="for task in tasks">
    <td>{task.done}</td>
    <td>{task.name} {task.tasks}</td>
    <td>{task.start}</td>
    <td>{task.end}</td>
  </tr>
</table>

gNius will find what it needs to find to make it look like you want it to look. It's smarter than its developers. We don't know how it works.









Hosted by Google Code