Programming Windows 8 Apps with HTML, CSS, and JavaScript

By Kraig Brockschmidt

Kraig Brockschmidt, "Programming home windows eight Apps with HTML, CSS, and JavaScript (Full Version)"
2012 | ISBN-10: 073567261X | MOBI | 833 pages | 18 + 37 MB

Apply your current abilities with HTML, CSS, and JavaScript—and begin development your personal home windows eight apps now. As a member of the home windows environment crew, the writer has informed countless numbers of Microsoft engineers and has been at the entrance traces of bringing the 1st home windows eight apps to the home windows shop. via this ebook, you’ll get an intensive grounding in platform gains and concerns, and delve into improvement necessities. “Quickstart” sections offer prepared adventure with the instruments, API, and middle gains. And you’ll achieve insights and most sensible practices on layout, coding, and function from real-world builders engaged on real-world apps.

Topics includes:

Platform Characteristics
App Anatomy and web page Navigation
Controls, regulate Styling, and uncomplicated information Binding
Collections and assortment Controls
Windows eight type Commanding UI
State, Settings, documents, and Documents
Input and Sensors
Purposeful Animations
Tiles, Notifications, the Lock monitor, and historical past Tasks
Devices and Printing
Localization, Accessibility, and the home windows shop

Show description

Quick preview of Programming Windows 8 Apps with HTML, CSS, and JavaScript PDF

Show sample text content

Classification. outline is, for its half, a shortcut for the item development, defining a in order that gadgets should be instantiated with new. Syntax: var className = WinJS. type. define(, , ) the place is a functionality, is an item with the class’s houses and techniques, and is an item with houses and techniques that may be at once accessed through . (without utilizing new). versions: WinJS. type. derive(, ...

Then we’ll examine basics just like the fuller anatomy of an app, controls, collections, format, commanding, nation administration, and enter, through chapters on media, animations, contracts wherein apps interact, networking, units, WinRT elements (through that you may use different programming languages and the APIs they could access), and the home windows shop (a subject that incorporates localization and accessibility). there's a lot to profit. For starters, let’s discuss the surroundings within which apps run and the features of the platform on which they're built—especially the terminology that we’ll depend upon within the remainder of the ebook (highlighted in italics).

Situation 2 then demonstrates sending badge updates to the lock reveal, in addition to a textual content tile replace if the app occurs to be the only one chosen for that privilege. there's not anything specific during this strategy the place the lock display is anxious, despite the fact that: such updates take place precisely as they do for the first app tile. It’s simply that these updates also are mirrored at the lock display. on the subject of badges, the badge glyph will seem besides the app’s Badge brand within the program UI > Notifications portion of the happen.

First is home windows. safeguard. Cryptography. right here you’ll locate the CryptographicBuffer classification which can encode and decode strings in hexadecimal and base64 (UTF-8 or UTF-16) and in addition offer random numbers and a byte array choked with such randomness. seek advice from situation 1 of the CryptoWinRT pattern for a few demonstrations, in addition to eventualities 2 and three of the net authentication dealer pattern. WinRT’s base64 encoding is totally suitable with the JavaScript atob and btoa features. subsequent is home windows. safeguard. Cryptography.

UI. Pages. render to do the loading, the contents of that are then appended as baby components to the navigator keep an eye on: _navigated: functionality (args) { var that = this; var newElement = that. _createPageElement(); var parentedComplete; var parented = new WinJS. Promise(function (c) { parentedComplete = c; }); args. aspect. setPromise( WinJS. Promise. timeout(). then(function () { if (that. pageElement. winControl && that. pageElement. winControl. dump) { that. pageElement. winControl. unload(); } go back WinJS.

Download PDF sample

Rated 4.10 of 5 – based on 28 votes