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,000
  • 14
  • 58
  • 78

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,103
  • 2
  • 19
  • 41
Óscar
  • 321
  • 1
  • 2
  • 14
1

You may checkout micro templating from John Resig.

Darin Dimitrov
  • 994,864
  • 265
  • 3,241
  • 2,902
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
  • 13,228
  • 8
  • 64
  • 82
0

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

Kernel James
  • 3,226
  • 20
  • 22