Friday 16th September, 2011
4:30pm to 5:00pm
At State we're building a platform and website for people to share opinions. We've developed a new template system named Eyebrow, based on Mustache and DTL. It has template inheritance, filters, template variables custom tags and if/else logic. It's also DOM-aware. In Node, we parse the template syntax and run the markup through JSDOM. This gives us an AST for both template tags and the DOM nodes. We can use this to compile a Node module for server-side rendering and a JSON definition for the browser runtime. In the browser, this gives us reactive templates where model changes are automatically reflected in the DOM, down to the text node level.
Thinker/builder based in London, with a bit of Dutch via Copenhagen. Making @state happen. bio from Twitter
Sign in to add slides, notes or videos to this session