All about promises (for Windows Store apps written in JavaScript)

When writing Windows Store apps in JavaScript, you encounter these constructs called promises as soon as you do anything that involves an asynchronous API. It also doesn’t take very long before writing promise chains for sequential asynchronous operations becomes second nature. In the course of your development work, however, you’ll probably encounter other uses of…

1

Windows Store app support in jQuery version 2.0

If you’ve already done some web development, it’s likely you’ve used the open source JavaScript framework jQuery. And if you’ve tried building Windows Store apps using jQuery, you might have run into errors related to JavaScript runtime or dynamic content. With the upcoming release of v2.0, the jQuery team has addressed these concerns. The jQuery…

4

Building a custom control using the Windows Library for JavaScript (WinJS)

If you have developed Windows Store apps using JavaScript, you most likely have encountered the Windows Library for JavaScript (WinJS). This library provides you with a set of CSS styles, JavaScript controls and utilities to help you quickly build apps that meet the UX guidelines for the Windows Store. Among the utilities provided by WinJS…

0

Getting the most out of your pixels – adapting to view state changes

In Windows 8, your apps run on a variety of screen sizes and under various view states. A user might have your app snapped to the side of a 25-inch desktop monitor, or fill the whole screen of a 10-inch widescreen tablet. In each case, you want your app to take full advantage of the…

3

Managing app lifecycle so your apps feel "always alive"

The app lifecycle model in Windows 8 means that users no longer need to manage which apps are running. It also makes it easy for developers to craft a great user experience that doesn’t affect the device’s battery or performance when the app is in the background. Using the new lifecycle events, your app will…

10