We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
如果您只想在移动浏览器/包装器(或现代桌面浏览器)中使用该引擎,那么兼容性不是问题。此外,性能对于基于网络的移动应用程序至关重要。
所以你有几个选择:
小胡子: http://mustache.github.com/mustache.5.html
霍根: https://github.com/twitter/hogan.js
Compatibility is not a problem if your intention is to use the engine only in mobile browsers/wrappers (or modern desktop browsers). Moreover, the performance is essential for web-based mobile applications.
So you have a couple of options:
mustache: http://mustache.github.com/mustache.5.html
hogan: https://github.com/twitter/hogan.js
我使用 Distal 模板,它适用于 iPhone。
I use Distal templates and it works on the iPhone.
我在 ASP.NET MVC 3 上的大型 jQuery Mobile 单页应用程序中使用了 jQuery 模板。将所有模板文件放在局部视图中效果非常好。模板在 jQuery Mobile 支持的所有浏览器上运行良好,包括 IE 6、7、8。
https://github.com/jquery/jquery-tmpl
I used jQuery templates for a large-scale jQuery Mobile single page app on ASP.NET MVC 3. Putting all the template files in a partial view worked quite well. Templates worked well on all browsers that jQuery Mobile supported including IE 6,7,8.
https://github.com/jquery/jquery-tmpl
应用程序如何“大”?如果您主要是在模板之后,则应尝试Google闭合模板尝试 -
http://code.google.com /closure/templates/
一些概念 -
http://code.google .com/CLOSURE/模板/doc/concepts.html
How "big" is the application? If you are primarily after templates you should give Google Closure Templates a try -
http://code.google.com/closure/templates/
Some concepts -
http://code.google.com/closure/templates/docs/concepts.html