• Testing & ALM

    The Importance of Wireframes in Application Design

    December 04, 2012 Share
    Recently, I joined efforts with two of my good friends and fellow Telerik Evangelists Michael Crump and Jesse Liberty to jointly build an application that would run on Windows 8 and Windows Phone. Michael will do the Windows Phone development, Jesse Windows 8 with C# and XAML, and I will tackle the WinJS version. Jesse did a great job of outlining the goals of the application and the initial wireframes of the application in his post on the project kick off. I want to focus on the value of using Wireframes in application design.
  • Testing & ALM

    MVVM in WinJS Part 1 - Observable Models

    December 04, 2012 Share
    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.
  • Testing & ALM

    JustCode JavaScript Templates for WinJS

    November 25, 2012 Share
    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...
  • Testing & ALM

    Fixing Visual Studio 2012 Intellisense for WinJS Files

    November 16, 2012 Share
    I have been frustrated by Intellisense acting up when working on WinJS Windows Store applications.  Figure 1 is just an example of the quirky behavior that I’ve been experiencing: Image 1 Fortunately, the fix is extremely easy, and I picked it up from Adam Freeman’s book on Apress “Metro Revealed: Building Windows 8 apps with HTML5 and Javascript” Add references in your JavaScript files to ui.js and base.js.  You can do this by dragging the files from your solution explorer.  They are located by expanding Windows Library for JavaScript 1.0, and then the “js”  folder.  Make sure you include the triple swack at...

  • Testing & ALM

    Interacting with the RadDatePicker and RadTimePicker for Windows 8

    November 15, 2012 Share
    Introduction My good friend Michael Crump showed how to create an Appointment Tracking app with the RadDatePicker and RadTimePicker in this excellent post. I’m going to start where Michael left off, adding additional business rules and logic by interacting with controls. If you haven’t read his post, you can download the project from here. I will start from this project to add in the additional functionality. Design Goals Imagine that the business has approached the development team and is complaining that users are selecting departure dates that are prior to the arrival date, and there is a desire to make the scheduler more “user...