JGUIMONT>COM

Words of Julien Guimont

0 notes

Easier templating in Javascript

I just created a new repo on Github called template-fetch. The goal of those 60 lines of code is simple: retrieve an haml template from the server and process it on the client side using HAML (for now). I plan to add other templating engines when I have more time.

It uses jQuery, underscore.js and haml.js to do its magic.

It is mostly inspired from Sammy and was built when I was tinkering with Backbone.js . I think it can be useful to other, you tell me!

Comment are always welcome.