Good Javascript template engine to work with JSON

前端 未结 8 1212
青春惊慌失措
青春惊慌失措 2020-12-06 08:54

I have looked at jTemplates and it\'s worth a try. Are there any other template engines other than jTemplates?

8条回答
  •  旧巷少年郎
    2020-12-06 09:19

    After having 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.com/

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

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

提交回复
热议问题