Reputation: 528
I'm working with phonegap to make web apps on mobile devices, and I'm very interested in Jquery templates, as I get facebook and youtube data with ajax and want to render them with a jquery template, so my needs are very simple .
I'm just very concerned with the template plugin performance since it will run on mobile devices, so it must be very effecient, and there are tons of template plugins out there, so which one is the best, performance wise ?
Upvotes: 2
Views: 2529
Reputation: 528
After many searches and trials, I decided to use DotJs as it seems to be the fastest engine while still being very simple to use I've tried this benchmark on my Optimus Black (ICS Android Version) and it was the fastest engine with the highest Ops/Sec. (Higher is better)
Other engines i was thinking to use were
Upvotes: 0
Reputation: 209
I recomend boostrap templates because from 3.0 version it's designed specifically for mobile and is very fast.
And they have a lot of templates avaiable: http://goo.gl/p05xrE
Edit.
Mmmmm. ok sorry. Have you try to do it with underscore?
It can write your html with JSON data very nice.
Upvotes: 2