1

Possible Duplicate:
Good Javascript template engine to work with JSON

I'm searching for a JavaScript / Dojo template to be used with JSON.

Community
  • 1
  • 1
Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138

2 Answers2

2

You could use Mustache, which is a standalone template lib. Though it's based on logicless templating. https://github.com/janl/mustache.js

It has a Dojo wrapper as well.

Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138
BGerrissen
  • 21,250
  • 3
  • 39
  • 40
1

There's also dojox.dtl (not very well maintained ATM) and dojo.replace for doing simple string substitutions.

Diogo Cardoso
  • 21,637
  • 26
  • 100
  • 138
peller
  • 4,435
  • 19
  • 21