Kraig began updating the first edition exactly a year ago, and when you examine the new ebook’s Table of Contents you’ll quickly see how much work he has done to share his deep understanding of Windows Store app building. Even in the simplest sense—new pages added to this edition: 478—Kraig’s effort and generosity are impressive. Thank you, Kraig, and enjoy, app builders!
The following excerpt from Kraig’s introduction to the ebook shares our goals for the title:
Introduction from the Author
Work on this second edition began almost as soon as the first edition was released. (I’d make a quip about the ink not being dry, but that analogy doesn’t work for an ebook!) When Windows 8 became generally available in the fall of 2012, work on Windows 8.1 was already well underway: the engineering team had a long list of improvements they wanted to make along with features that they weren’t able to complete for Windows 8. And in the very short span of one year, Windows 8.1 was itself ready to ship.
At first I thought writing this second edition would be primarily a matter of making small updates to each chapter and perhaps adding some pages here and there on a handful of new features. But as I got deeper into the updated platform, I was amazed at just how much the API surface area had expanded! Windows 8.1 introduces a number of additional controls, an HTML webview element, a stronger HTTP API, content indexing, deeper OneDrive support, better media capabilities, more tiles sizes (small and large), more flexible secondary tile, access to many kinds of peripheral devices, and more options for working with the Windows Store, like consumable in-app purchases. And clearly, this is a very short list of distinct Windows 8.1 features that doesn’t include the many smaller changes to the API. (A fuller list can be found on Windows 8.1: New APIs and features for developers.)
Furthermore, even as I was wrapping up the first edition of this book, I already had a long list of topics I wanted to explore in more depth. I wrote a number of those pieces for my blog, with the intention of including them in this second edition. A prime example is Appendix A, “Demystifying Promises.”
Who should read this book?
I'm also assuming that your interest in Windows has at least two basic motivations. One, you probably want to come up to speed as quickly as you can, perhaps to carve out a foothold in the Windows Store sooner rather than later. Toward that end, Chapter 2, “Quickstart,” gives you an immediate experience with the tools, APIs, and some core aspects of app development and the platform. On the other hand, you probably also want to make the best app you can, one that performs really well and that takes advantage of the full extent of the platform. Toward this end, I've also endeavoured to make this book comprehensive, helping you at least be aware of what's possible and where optimizations can be made.
Let me make it clear, though, that my focus in this book is the Windows platform. I won’t talk much about third-party libraries, architectural considerations for app design, and development strategies and best practices. Some of these will come up from time to time, but mostly in passing. Nevertheless, many insights have come from working directly with real-world developers on their real-world apps. As part of the Windows Ecosystem team, myself and my teammates have been on the front lines bringing those first apps to the Windows Store. This has involved writing bits of code for those apps and investigating bugs, along with conducting design, code, and performance reviews with members of the Windows engineering team. As such, one of my goals with this book is to make that deep understanding available to many more developers, including you!