javascript - Good Templating engine to be used with jquery - Stack Overflow

admin2025-04-19  0

what are the good alternatives to jquery.tmpl now that jquery team has halted it development. It will now be coordinated by the jQuery UI team, as it will be a dependency of the uping jQuery UI Grid. But since grid is still far away in future which engine can i use. My backed is Cakephp

/

PS: MOst questions on this topic are outdated hence i asked this question. So as of 2011 which one should i go for.

what are the good alternatives to jquery.tmpl now that jquery team has halted it development. It will now be coordinated by the jQuery UI team, as it will be a dependency of the uping jQuery UI Grid. But since grid is still far away in future which engine can i use. My backed is Cakephp

http://blog.jquery.it/2011/04/16/official-plugins-a-change-in-the-roadmap/

PS: MOst questions on this topic are outdated hence i asked this question. So as of 2011 which one should i go for.

Share edited Dec 21, 2011 at 7:09 Interrobang 17.5k3 gold badges57 silver badges63 bronze badges asked Dec 21, 2011 at 6:42 aWebDeveloperaWebDeveloper 38.5k41 gold badges178 silver badges247 bronze badges 1
  • 2 I'd remend looking at stackoverflow./questions/7788611/… – isNaN1247 Commented Dec 21, 2011 at 7:24
Add a ment  | 

4 Answers 4

Reset to default 5

One of the most monly-used Javascript templating engines is mustache.js.

A simpler alternative is contained as part of underscore.js.

I remend EJS.

You could also look at :

  • John Resig's Micro Templating
  • PURE (quite different than other templating solutions...)

From my experience this is the best

http://handlebarsjs./

Revisiting this question in 2017, it looks like JsRender and JsViews have emerged as the current official implementation of templating within the jQuery ecosystem (whilst not necessarily requiring jQuery):

JsRender is a light-weight but powerful templating engine, highly extensible, and optimized for high-performance rendering, without DOM dependency. It is designed for use in the browser or on Node.js, with or without jQuery.

JsRender and JsViews together provide the next-generation implementation of the official jQuery plugins JQuery Templates, and JQuery Data Link -- and supersede those libraries.

- JsRender GitHub Readme

Official Site: http://www.jsviews./

GitHub (JsRender): https://github./BorisMoore/jsrender

GitHub (JsViews): https://github./BorisMoore/jsviews

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745062324a282773.html

最新回复(0)