开发者

Can I use binding.js for databinding on a web project?

开发者 https://www.devze.com 2023-04-11 07:31 出处:网络
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_JavaS

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. jQuer开发者_运维知识库y extension)?


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

0

精彩评论

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

关注公众号