• Testing

    Conference Buddy

    Check out the latest status of the Conference Buddy applications being developed in Windows 8 (XAML and WinJS), Windows Phone, ASP.NET WebForms, and Windows Forms.
    February 23, 2013
  • Testing

    MVVM in WinJS Part 2 – Observable Collections

    As I explained in my last post on MVVM in WinJS, the goal of the MVVM pattern (as well as the Presentation Model pattern) is to create a separation of concerns between the model and the view. This eliminates the need for the model to have knowledge of the view, and leverages data binding techniques to make sure the state of the model is always accurately represented by the view. The next step in implementing the MVVM pattern is Observable Collections. Just as important as having individual items being Observable by the View for changes are collections that will notify the View when items are added or deleted. Fortunately, Microsoft has made this extremely simple with the WinJS.Binding.List.
    December 20, 2012
  • Testing

    MVVM in WinJS Part 1 - Observable Models

    The goal of the Presentation Model pattern is to “Represent the state and behavior of the presentation independently of the GUI controls used in the interface” (from Martin Fowler’s website.) All of the data and behavior of the UI as it relates to the state of the model is contained in the model. The view (or the UI) simply renders the data and refers to the model to determine such things as control state and values. Non model related items (such as rendering and other solely UI constructs) are in the This minimizes interaction between the model and the UI, creating a clearer separation of concerns between the two layers.
    December 04, 2012