开发者

jQuery Micro Templating

After reading Rick Strahl's blog post I created a few templates myself and I just have one question though. Lets say I return the same JSON object but I want to generate different UI for different pu开发者_如何学Pythonrposes (dropdown lists, tables, etc), would I have to create a template for each type of UI or is there a neater solution?


If you want different UIs, and, therefore, different HTML code, how would you do to have only one template? I think having one template for each type of UI is a good solution, and I don't see any neater one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜