Telerik blogs
  • Productivity

    Slides, Source Code and Video to the “Getting Started with JustMock” Webinar Now Available

    Chris and I wanted to thank you all for attending the “Getting Started with JustMock” webinar. The slides, source code and recorded video are now available for you to explore. If you have any questions, then feel free to leave a comment below or send us an email/tweet. I encourage you to go ahead and download your own copy of JustMock and start experiencing Fast, Fluid Unit Testing for yourself. WEBINAR MATERIALS Slides, Source Code and the Recorded Webinar Video is now available for you to enjoy.
    December 06, 2012
  • Design

    The Importance of Wireframes in Application Design

    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.
    December 04, 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
  • Productivity

    Fixing Visual Studio 2012 Intellisense for WinJS Files

    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...
    November 16, 2012