Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery templating engines [closed]

I am looking for a template engine to use client side. I have been trying a few like jsRepeater and jQuery Templates. While they seem to work OK in FireFox they all seem to break down in IE7 when it comes down to rendering HTML tables.

I also took a look at MicrosoftAjaxTemplates.js (from http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=16766) but turns out that has the same problem.

Any advice on other templating engines to use?

like image 419
Maurice Avatar asked Oct 04 '08 11:10

Maurice


People also ask

Are templating engines necessary?

You actually dont need them, but they have a lot of features that makes your pages more dynamic..

What is an advantage to using a templating engine?

A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template file with actual values, and transforms the template into an HTML file sent to the client. This approach makes it easier to design an HTML page.


1 Answers

Check out Rick Strahl's post Client Templating with jQuery. He explores jTemplates, but then makes a better case for John Resig's micro-templating solution, even improving it some. Good comparisons, lots of samples.

like image 69
ewbi Avatar answered Sep 22 '22 17:09

ewbi