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

Humanist ∪ Technologist. ♡ working with the web. Occasional Dutch speaker. @ava__js sustainer. He/his. 🇪🇺🇳🇱, soon 🇬🇧 bio from Twitter

Coverage of this session

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

Tell your friends!


Time 4:30pm5:00pm EST

Date Fri 16th September 2011

Short URL


Official event site


View the schedule



See something wrong?

Report an issue with this session