News for hackers. Stuff that matters.

Patroon - Javascript Template Engine

http://www.matthias-georgi.de/2008/9/patroon-a-javascript-template-engine.html

Patroon is a template engine written in Javascript in about 100 lines of code. It takes existing DOM nodes annotated with CSS classes and expand a data object according to simple rules. Additionally you may use traditional string interpolation inside attribute values and text nodes.
( no comments | 2 points | on HN )

There are no comments yet.