(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

(Windows8) WinJS Basic Javascript Objects and the ViewModel pattern

(1 votes)
0 comments   /   posted by Silverlight Show on Mar 12, 2012
Tags:   windows-8 , winjs , metro , ioannis-panagopoulos

Read original post by Ioannis Panagopoulos at C# and .NET Tips and Tricks

When someone starts implementing small programs in Visual Studio 2011 and starts playing with the VS2011 templates for Metro applications in Javascript, he soon wonders about the differences that WinJS brings in Javascript object creation and what is the best practice of connecting the view (HTML) with the model (Javascript). The second relates to the functionality that WinJS brings and is similar to other data binding libraries like for example Knockoutjs.In this blog we will see a general overview of the object and ViewModel creation patterns using only WinJS via the implementation of a simple “Metro Style” application.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter