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

Build More Efficient Windows Store Apps Using JavaScript: Error Handling

(0 votes)
0 comments   /   posted by Silverlight Show on Jan 20, 2014
Tags:   windows-store , windows-8.1 , win8dev , winjs , eric-schmidt
Read original post by Eric Schmidt at MSDN Magazine

Believe it or not, sometimes app developers write code that doesn’t work. Or the code works but is terribly inefficient and hogs memory. Worse yet, inefficient code results in a poor UX, driving users crazy and compelling them to uninstall the app and leave bad reviews.

I’m going to explore common performance and efficiency problems you might encounter while building Windows Store apps with JavaScript. In this article, I take a look at best practices for error handling using the Windows Library for JavaScript (WinJS). In a future article, I’ll discuss techniques for doing work without blocking the UI thread, specifically using Web Workers or the new WinJS.Utilities.Scheduler API in WinJS 2.0, as found in Windows 8.1. I’ll also present the new predictable-object lifecycle model in WinJS 2.0, focusing particularly on when and how to dispose of controls.


No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter