Windows 8 Apps Revealed Using HTML5 and JavaScript [electronic resource] : Using HTML5 and JavaScript /
Freeman, Adam.author.
This 88-page primer unveils the key features of Microsoft's eagerly anticipated Windows 8 operating system. Windows 8 contains Microsoft's revolutionary new application framework for building dynamic and responsive touch-enabled applications that target both desktops and mobile devices. Experienced author Adam Freeman invites you to take a crash course in Windows 8 development. Using the open standards of 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 innovative and elegant applications for this latest evolution of the world’s most successful operating system.
Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; About This Book; What Do You Need to Know Before You Read Th is Book?; Do You Need to Know About HTML5?; What Software Do You Need for Th is Book?; What Is the Structure of Th is Book?; Chapter 1: Getting Started; Chapter 2: Data and Bindings; Chapter 3: Application Controls; Chapter 4: Layouts and Tiles; Chapter 5: Life-Cycle Events; 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?; Chapter 1: Getting Started; Chapter 2: Data and Bindings; Chapter 3: Application Controls; Chapter 4: Layouts and Tiles; Chapter 5: Life-Cycle Events; Tell Me More About the Example Windows 8 App; 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 File; Starting and Debugging a JavaScript Windows 8 App; Reloading the Windows 8 App; Debugging Windows Store apps
SummaryCHAPTER 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 Changes; Tracking the Selected Item; Applying the Template to the App; Styling the Template Elements
Importing the JavaScript and CSSTesting the Template; Summary; CHAPTER 3 Application Controls; Adding an AppBar; Implementing App Bar Buttons; Adding Flyouts; Associating the Flyout with the AppBar Command; Importing the Flyout Content; Wiring Up 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 Windows 8 Orientations and ViewsSimulating Orientation and View Changes; Simulating Orientation Changes; Simulating Views Changes; Adapting to Orientation and View Changes; Adapting with CSS; Adapting with JavaScript; Programmatically Exiting the Snapped View; Using Tiles and Badges; Improving Static Tiles; Applying the Images; Updating Tiles; Populating the XML Template; Creating the Tile Update; Applying the Tile Update; Testing the Tile Update; Updating Wide Tiles; Applying Badges; Summary; CHAPTER 5 Life-Cycle Events; Dealing with the App Life Cycle
Correcting the Visual Studio Event Code
Includes index.
This 88-page primer unveils the key features of Microsoft's eagerly anticipated Windows 8 operating system. Windows 8 contains Microsoft's revolutionary new application framework for building dynamic and responsive touch-enabled applications that target both desktops and mobile devices. Experienced author Adam Freeman invites you to take a crash course in Windows 8 development. Using the open standards of 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 innovative and elegant applications for this latest evolution of the world’s most successful operating system.
Microsoft Windows (Computer file)
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.