November 2012
Intermediate to advanced
368 pages
7h 48m
English
In This Chapter
• Namespaces, Modules, and Classes
• Asynchronous Programming with Promises
The goal of this chapter is to explain the features included in the base WinJS library. These are the features that you will use in just about any application that you build.
The first part of this chapter is devoted to the topic of namespaces, modules, and classes. You learn the recommended patterns for organizing your JavaScript code.
Next, you learn how to take advantage of another feature of the base WinJS library called promises. Promises provide you with an elegant way to perform asynchronous programming in your JavaScript ...
Read now
Unlock full access