Windows 8 SDK 附带了非常酷的数据绑定 JavaScript 示例。
更多信息请点击这里:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465051(v=VS.85).aspx#Extend_Your_First_Metro_Style_App_JavaScript_Using_Templates_and_Binding
据我了解,您可以定义数据绑定和数据模板非常容易。
但是,我不确定是否允许在我的项目中使用 binding.js(仅支持 Windows 应用程序,不适用于 Firefox 或 chrome)
是否有适用于 Web 的等效项(例如 jQuery 扩展)?
Windows 8 SDK comes with very cool data binding JavaScript samples.
More info here:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465051(v=VS.85).aspx#Extend_Your_First_Metro_Style_App_JavaScript_Using_Templates_and_Binding
From what I understand, you can define data binding and data template quite easily.
However, I am not sure I am allowed to use binding.js in my project (supported for Windows apps only, doesn't work on firefox or chrome)
Is there an equivalent for the web (e.g. jQuery extension)?
发布评论
评论(1)
我认为最接近的等价物可能是数据模板。
您也许可以尝试一下,看看它是否适合您的需求:
http://weblogs.asp.net/scottgu/archive/2010/05/07/jquery-templates-and-data-linking-and-microsoft-contributing-to-jquery.aspx
I think your closest equivalent might be data templating.
You can perhaps give this a try and see if it suits your needs:
http://weblogs.asp.net/scottgu/archive/2010/05/07/jquery-templates-and-data-linking-and-microsoft-contributing-to-jquery.aspx