jQuery Templates are deprecated?

后端 未结 4 1460
离开以前
离开以前 2020-12-07 23:06

I see that per the jQuery plugin template page that jQuery plugins have gone from beta to deprecated without passing a real release. I can\'t find any info on jquery.com or

4条回答
  •  悲&欢浪女
    2020-12-07 23:29

    jQuery Templates are not dead, they just aren't going in as an official template language of the project. The maintainer of that project will likely still make some updates (and has plans to redo quite a bit of it in the future).

    JavaScriptMVC is quite a bit more complex than just templates and you can use just about any templating language that you want with it.

    Some of the more popular templating languages these days are Mustache/Handlebars, Dust.js, Haml, Embedded JavaScript, and a few others. The first three are actually pretty similar syntax to the jQuery templates with the exception that they don't natively create jQuery object for your element. That's easy to add though.

提交回复
热议问题