Re:Mustache, ERB and the future of templating
by baddox on Monday October 17, 2011 @10:35PM
(#3123582)
Namely, handlebars allows you to use dot syntax to get inside nested hashes (objects). While you could argue that this isn't a good practice, it certainly makes it easier to create templates for an existing JSON API endpoint that contains nested objects.
Wow, it makes me wonder what you were doing before?
I'm more a fan of http://www.handlebarsjs.com/. It has a few handy features that are missing from Mustache.