Ebook: Metro Revealed : Building Windows 8 apps with HTML5 and JavaScript.
Author: Adam Freeman
- Genre: Computers // Operating Systems
- Year: 2012
- Publisher: Springer
- City: Dordrecht
- Language: English
- pdf
This 88-page primer unveils the key features of Microsoft's eagerly anticipated Windows 8 operating system. Windows 8 contains the revolutionary Metro application framework for building dynamic and responsive touch-enabled applications that target both desktops and mobile devices. With the official release of Windows 8 looming ever closer, experienced author Adam Freeman invites you to take a crash course in Metro development. Using HTML5 and JavaScript, he ensures you understand the changes that are being made to Windows development practices and puts you on the right course to creating innov. Read more...
Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; Related Titles from Apress; About the Author; About the Technical Reviewer; Acknowledgments; CHAPTER 1 Getting Started; About This Book; What Do You Need to Know Before You Read This Book?; Do You Need to Know About HTML5?; What Software Do You Need for This Book?; What Is the Structure of This Book?; Tell Me More About the Example Metro Application; Is There a Lot of Code in This Book?; Getting Up and Running; Creating the Project; Exploring the default.html File; Exploring the default.css File Exploring the default.js FileStarting and Debugging a JavaScript Metro App; Reloading the Metro Application; Debugging Metro Apps; Summary; CHAPTER 2 Data and Bindings; Creating the JavaScript File; Using Code Completion; Reducing Global Namespace Pollution; Creating Namespaces; Using Self-executing Functions; Using Strict Mode; Returning to the View Model; Using Data Binding; Using Basic Declarative Bindings; Creating Dynamic Bindings; Combining Namespaces with Observable Items; Updating an Observable Data Item; Creating Observable Arrays; Using Templates; Using the Template Responding to List ChangesTracking the Selected Item; Applying the Template to the App; Understanding Promises; Summary; CHAPTER 3 Application Controls; Adding an AppBar; Implementing App Bar Buttons; Adding Flyouts; Managing the Controls in a Flyout; Using Pages; Defining the HTML; Creating the JavaScript Callback; Loading and Displaying the HTML; Loading a Complete HTML Document; Switching Between Pages; Displaying External Content; Adding the Callback; Showing the Page; Checking Manifest Permissions; Summary; CHAPTER 4 Layouts and Tiles; Dealing with Metro Layouts Snapping and Filling with CSSSnapping and Filling with JavaScript; Using Tiles and Badges; Improving Static Tiles; Updating Tiles; Populating the XML Template; Applying the Tile Update; Testing the Tile Update; Updating Wide Tiles; Applying Badges; Summary; CHAPTER 5 Life-Cycle Events; Dealing with the Metro Application Life Cycle; Correcting the Visual Studio Event Code; Testing the Life-Cycle Events; Activate the Application; Suspend the Application; Resuming the Application; Adding a Background Activity; Using Location Tracking; Controlling the Task; Declaring the Location Capability Testing the Background TaskImplementing the Search Contract; Declaring Support for the Contract; Handling the Search; Implementing the Activated Event Handler; Ensuring Application Setup; Testing the Search Contract; Summary; Index
Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; Related Titles from Apress; About the Author; About the Technical Reviewer; Acknowledgments; CHAPTER 1 Getting Started; About This Book; What Do You Need to Know Before You Read This Book?; Do You Need to Know About HTML5?; What Software Do You Need for This Book?; What Is the Structure of This Book?; Tell Me More About the Example Metro Application; Is There a Lot of Code in This Book?; Getting Up and Running; Creating the Project; Exploring the default.html File; Exploring the default.css File Exploring the default.js FileStarting and Debugging a JavaScript Metro App; Reloading the Metro Application; Debugging Metro Apps; Summary; CHAPTER 2 Data and Bindings; Creating the JavaScript File; Using Code Completion; Reducing Global Namespace Pollution; Creating Namespaces; Using Self-executing Functions; Using Strict Mode; Returning to the View Model; Using Data Binding; Using Basic Declarative Bindings; Creating Dynamic Bindings; Combining Namespaces with Observable Items; Updating an Observable Data Item; Creating Observable Arrays; Using Templates; Using the Template Responding to List ChangesTracking the Selected Item; Applying the Template to the App; Understanding Promises; Summary; CHAPTER 3 Application Controls; Adding an AppBar; Implementing App Bar Buttons; Adding Flyouts; Managing the Controls in a Flyout; Using Pages; Defining the HTML; Creating the JavaScript Callback; Loading and Displaying the HTML; Loading a Complete HTML Document; Switching Between Pages; Displaying External Content; Adding the Callback; Showing the Page; Checking Manifest Permissions; Summary; CHAPTER 4 Layouts and Tiles; Dealing with Metro Layouts Snapping and Filling with CSSSnapping and Filling with JavaScript; Using Tiles and Badges; Improving Static Tiles; Updating Tiles; Populating the XML Template; Applying the Tile Update; Testing the Tile Update; Updating Wide Tiles; Applying Badges; Summary; CHAPTER 5 Life-Cycle Events; Dealing with the Metro Application Life Cycle; Correcting the Visual Studio Event Code; Testing the Life-Cycle Events; Activate the Application; Suspend the Application; Resuming the Application; Adding a Background Activity; Using Location Tracking; Controlling the Task; Declaring the Location Capability Testing the Background TaskImplementing the Search Contract; Declaring Support for the Contract; Handling the Search; Implementing the Activated Event Handler; Ensuring Application Setup; Testing the Search Contract; Summary; Index
Download the book Metro Revealed : Building Windows 8 apps with HTML5 and JavaScript. for free or read online
Continue reading on any device:
Last viewed books
Related books
{related-news}
Comments (0)