Telerik blogs
  • Web

    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
  • Web

    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
  • Productivity

    JustCode JavaScript Templates for WinJS

    I’ve been doing a lot of WinJS work recently, and I am an avid user of the JustCode Template functionality.  So, I thought I’d share my templates as I have them now, and will update this post as I update them or create more.  For more information on creating JustCode templates, please see this help content. For each template, I show my acronym in parenthesis.  For example, the first template’s acronym is “winjsfile”.  I also don’t show the results for every template, since some of them are obvious. Templates for New JavaScript File This template and the related templates following are used when I...
    November 25, 2012
  • Release

    Get your Learn on With Telerik 2012 Q3 Webinar Week

    Webinar week is coming!  From October 22 to October 26, we will be hosting nine webinars showing off the best of what’s new, including an incredible level of support for Visual Studio 2012 and Windows 8.  In addition to seeing all of the cool new features in Telerik’s ever expanding suite of products, you can have a chance to win valuable prizes, including DevCraft Ultimate licenses.  Please visit this link to register: http://www.telerik.com/developer-productivity-tools/whats-new.aspx I will personally be involved in three of the webinars, on Telerik Reporting, the Just suite of products, and support for Windows8 development. The Telerik Report Designer: More Powerful...
    October 09, 2012