9

I'm getting to a stage where I need to build up HTML client side based on JSON responses from the server. Bugger doing this manually.

I'm already using jQuery on the app. I had a quick look for jQuery templates but the docs tell me it's deprecated, awaiting a better plugin.

This question asks pretty much the same thing, but the question is close to 3 years old now, I'm assuming plenty could have changed by now.

Community
  • 1
  • 1
Kirschstein
  • 14,570
  • 14
  • 61
  • 79

4 Answers4

5

Boris Moore, the same guy who created jQuery Templates is currently working on a project which is pretty much like jQuery-templates-in-steroids. He explains it here.

In short, if jQuery Templates is the best engine around, you can give jsViews and jsRender a try.

Here's another presentation that summarizes it all very nicely.

Gevious
  • 3,214
  • 3
  • 21
  • 42
Óscar
  • 341
  • 1
  • 2
  • 14
1

You may checkout micro templating from John Resig.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
1

I've been using jTemplates by many years and really like how its simple yet powerful. Unfortunatelly, it isn't updated anymore and I think its deprecated too.

Erick Petrucelli
  • 14,386
  • 8
  • 64
  • 84
0

There's also Distal http://code.google.com/p/distal for inline templating.

Kernel James
  • 3,752
  • 25
  • 32