3. Layout

Windows 8 is designed to be available on a variety of devices, from 7-inch tablets to 70-inch television screens, and your app should be able to run on all of these. What’s more, your app will be displayed in several resolutions, at a variety of DPIs, in either portrait or landscape orientation, and snapping to an edge of the screen or filling the remaining space next to another snapped app. Putting it another way, your app has to be flexible and ready to adapt to a number of devices and layouts.

But, there’s no reason you need to explicitly build for a hundred device and layout combinations, because Windows 8 has you covered. Great Windows Store apps are designed with flexibility in mind, and then are built with CSS layout capabilities, ...

Get Building Windows 8 Apps with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.