Search code examples
jquerytemplatingjquery-templates

jQuery jquery-tmpl roadmap


For some reason the develpment jQuery templating plugin (jquery-tmpl) has been put on hold. From reading blog blog articles on the topic it seems that either it will be included again in the future or replaced by something with a different approach (e.g. jsRender & jsViews)

What would be the future proof way of implementing templating in jQuery? (Using beta stuff is ok)


Solution

  • The long term strategy is to replace the template plugin with JsRender and JsViews. Both projects are nearing beta. My suggestion would be to use jquery-templates for now and then switch to JsRender when its released. The template syntax is similar so it shouldn't be difficult to switchover when the time comes. Someone will probably create a tool for updating templates automatically...

    Check out:

    https://github.com/BorisMoore/jsviews https://github.com/BorisMoore/jsrender

    and

    http://www.borismoore.com/2012/03/approaching-beta-whats-changing-in_06.html