Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the preferred template library for jQuery?

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.

like image 280
Kirschstein Avatar asked Oct 09 '11 14:10

Kirschstein


1 Answers

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.

like image 166
Óscar Avatar answered Oct 21 '22 13:10

Óscar