23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I'm also assuming that your interest in Windows 8 has at least two basic motivations. One, you<br />

probably want to come up to speed as quickly as you can, perhaps to carve out a foothold in the<br />

Windows Store sooner rather than later. Toward that end, I've front-loaded the early chapters with the<br />

most important aspects of app development along with "Quickstart" sections to give you immediate<br />

experience with the tools, the API, and some core platform features. On the other hand, you probably<br />

also want to make the best app you can, one that performs really well and that takes advantage of the<br />

full extent of the platform. Toward this end, I've also endeavored to make this book comprehensive,<br />

helping you at least be aware of what's possible and where optimizations can be made. (Note, though,<br />

that the Store itself is discussed in Chapter 17.)<br />

Many insights have come from working directly with real-world developers on their real-world apps.<br />

As part of the Windows Ecosystem team, myself and my teammates have been on the front lines<br />

bringing those first apps to the Windows Store. This has involved writing bits of code for those apps and<br />

investigating bugs, along with conducting design, code, and performance reviews with members of the<br />

Windows engineering team. As such, one of my goals with this book is to make that deep<br />

understanding available to many more developers, including you!<br />

What You'll Need (Can You Say “Samples”?)<br />

To work through this book, you should have Windows 8 installed on your development machine, along<br />

with the Windows SDK and tools. All the tools, along with a number of other resources, are listed on<br />

Developer Downloads for programming Windows Store Apps. You’ll specifically need Microsoft Visual<br />

Studio Express 2012 for Windows 8. We’ll also acquire other tools along the way as we need them in this<br />

ebook. (Note that for all the screenshots in this book, I switched Visual Studio from its default “dark”<br />

color theme to the “light” theme, as the latter works better against a white page.)<br />

Also be sure to download the “Sample app pack” listed on this page, or visit Windows 8 app samples<br />

and specifically download the SDK’s JavaScript samples. We'll be drawing from many—if not most—of<br />

these samples in the chapters ahead, pulling in bits of their source code to illustrate how many different<br />

tasks are accomplished.<br />

One of my secondary goals in this book, in fact, is to help you understand where and when to use the<br />

tremendous resources in what is clearly the best set of samples I’ve ever seen for any release of<br />

Windows. You’ll often be able to find a piece of code in one of the samples that does exactly what you<br />

need in your app or that is easily modified to suit your purpose. For this reason I’ve made it a point to<br />

personally look through every one of the JavaScript samples, understand what they demonstrate, and<br />

then refer to them in their proper context. This, I hope, will save you the trouble of having to do that<br />

level of research yourself and thus make you more productive in your development efforts.<br />

In some cases I’ve taken one of the SDK samples and made certain modifications, typically to<br />

demonstrate an additional feature but sometimes to fix certain bugs or demonstrate a better<br />

understanding that came about after the sample had to be finalized. I’ve included these modifications in<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!