Mustache? I’ll raise you an Eyebrow! — Reactive Templates and Widgets with Eyebrow templates

A session at DojoConf 2011

Friday 16th September, 2011

4:30pm to 5:00pm (EST)

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.

About the speaker

This person is speaking at this event.
Mark Wubben

Thinker/builder based in London, with a bit of Dutch via Copenhagen. Making @state happen. bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 4:30pm5:00pm EST

Date Fri 16th September 2011

Short URL

lanyrd.com/shhqx

Official event site

dojoconf.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session