Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

CHAPTER 2: Data and Bindings > Using Data Binding

Using Data Binding

Data binding is the mechanism by which you include data from your view model in the HTML that is displayed to the user. The WinJS API supports binding through the WinJS.Binding namespace. Data binding is the key to being able to use a view model in a Metro app. I recommend investing time to learn how to use the WinJS binding capabilities fully if you want to build scalable and robust Metro applications.

images Tip WinJS data binding isn't as complete or flexible as some of the more widely used web app JavaScript libraries such as Knockout.js, Backbone, and Angular.js. You can easily use these libraries in your Metro app, but my recommendation is to take the time to understand the WinJS alternative and see how the functionality evolves as the final version of Windows 8 approaches.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint