jQuery Templates vs Partial Views in ASP.NET MVC

后端 未结 3 1291
北恋
北恋 2021-02-06 04:38

I\'m taking a look at jQuery templates. It looks really interesting - easy syntax, easy to use, very clean.

However, I can\'t really see why it\'s better to use jQuery

3条回答
  •  轮回少年
    2021-02-06 05:37

    One example is when you want to display a number of rows initially, but then also add/remove single rows over the course of the page view (think displaying and then editing an invoice document). Having the granular control to be able to render a single row at a time gives you the ability to significantly improve the responsiveness of your app.

提交回复
热议问题