Book description
Write Windows 8 Metro apps capable of running on one billion devices -- and do it with familiar HTML5 and JavaScript technologies! Sams Teach Yourself Windows 8 Metro Apps with JavaScript and HTML5 in 24 Hours is the fastest way for web and Windows developers to profit from the massive new Windows 8/Metro opportunity. Microsoft MVP Chad Carter teaches every facet of HTML5/JavaScript Metro development simply and clearly, through 24 concise, hands-on lessons focused on knowledge you can apply immediately. Each lesson builds on what's come before, helping you get practical results fast! You'll learn how HTML5, JavaScript, and CSS3 fit into Metro development… how to quickly master Metro design and start using Microsoft's powerful Metro templates… what you need to know about WinRT and WinJS… how to build high-performance Metro apps… how to handle tablet and smartphone form factors, touch, and sensors… how to bind data to apps, and store it locally or remotely… how to manage app lifecycle events… how to make the most of Metro's innovative UI features… and much more. Carter walks you through constructing apps and games from start to finish, and even shows how to get them certified for sale at the Windows Store. Step-by-step instructions walk readers through key tasks... Q-and-As, Quizzes, and Exercises test their knowledge... "Did You Know?" tips offer insider advice... "Watch Out!" alerts help them avoid problems. By the time they're finished, readers will be comfortable with every phase of Windows 8 Metro development -- from planning apps through earning revenue!
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You
- Reader Services
- Introduction
-
Part I: Building the Foundation
- Hour 1. Getting a Refresher on JavaScript, HTML5, and CSS3
- Hour 2. Trying Out File | New | Project
- Hour 3. Exploring the Windows Runtime (WinRT) and Windows Library for JavaScript (WinJS)
- Hour 4. Creating WinJS Namespaces, Classes, and Custom Controls
- Hour 5. Understanding Microsoft Design Style Principles
- Hour 6. Customizing the Style of Our Apps
- Hour 7. Debugging, Securing, and Measuring Our App’s Performance
- Part II: Handling the Hardware
-
Part III: Working with Data
- Hour 10. Binding Data to Our Apps
-
Hour 11. Storing Data Locally
- Working with DOM Local Storage
- Glancing at Session Storage
- Looking at the sessionState Object
- Working with WinRT Local Settings
- Working with WinRT Local Storage
- Reading Files from the App’s Installed Location
- Saving Images to Disk As Binary Large Objects
- Understanding the Lifetime of Application Data
- Working with the Indexed Database API (IndexedDB)
- Further Exploration
- Summary
- Q&A
- Workshop
- Hour 12. Using Remote Data
-
Part IV: Making It a Windows Store App
-
Hour 13. Working with Fullscreen, Filled, Snapped, and Portrait Views
- Learning About the Different View States in Windows 8
- Using the Simulator
- Using ViewBox for Fixed Layouts
- Using CSS Media Queries to Style Content Based on the Current View State
- Using the Resize Event to Determine the View State
- Using CSS msMatchMedia to Detect View State Changes
- Further Exploration
- Summary
- Q&A
- Workshop
-
Hour 14. Using the App Bar and Pickers
- Adding an App Bar to an App
- Understanding Command Placement
- Styling the App Bar
- Dynamically Controlling the App Bar
- Displaying Flyouts and Menus from the App Bar
- Customizing the Command Images in the App Bar
- Opening a Single File with the File Picker
- Opening Multiple Files with the File Picker
- Saving a File with the File Picker
- Further Exploration
- Summary
- Q&A
- Workshop
- Hour 15. Handling App Life Cycle Events
-
Hour 16. Using Contracts and Extensions
- Understanding Contracts and Extensions
- Using the File Open Picker Contract
- Using the Print Extension
- Using the Settings Extension
- Implementing the Contact Picker Extension
- Implementing the Search Contract
- Understanding the Share Contract
- Glancing at the Remaining Contracts and Extensions
- Further Exploration
- Summary
- Q&A
- Workshop
- Hour 17. Using Live Tiles, Secondary Tiles, Notifications, and Toasts
- Hour 18. Creating a Trial and Handling In-App Purchases
-
Hour 13. Working with Fullscreen, Filled, Snapped, and Portrait Views
-
Part V: Putting It into Practice
-
Hour 19. Making the RSS Aggregator App
- Upgrading the RSSReader to the RSS Aggregator
- Cleaning Up the UI
- Loading the Feeds Dynamically
- Making Search Work with Multiple Feeds
- Styling Snap View
- Allowing the User to Enter Feed URLs
- Keeping Track of the Scroll Position
- Adding the View in Browser Capability
- Allowing the User to Remove Feeds
- Saving the Feeds
- Further Exploration
- Summary
- Q&A
- Workshop
- Hour 20. Making the FingerPainting App
- Hour 21. Making the Simon Game
-
Hour 19. Making the RSS Aggregator App
-
Part VI: Sending It Out to the World
-
Hour 22. Understanding the Windows Store
- Understanding the Potential of the Windows Store
- Opening a Developer Account and Starting an App Submission
- Creating an App Package for the Windows Store
- Submitting Our App to the Windows Store
- Analyzing Our Apps in the Windows Store
- Updating a Windows Store App
- Further Exploration
- Summary
- Q&A
- Workshop
- Hour 23. Getting an App Certified
- Hour 24. Making Money with Windows Store Apps
-
Hour 22. Understanding the Windows Store
- Part VII: Appendix
- Index
Product information
- Title: Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours
- Author(s):
- Release date: November 2012
- Publisher(s): Sams
- ISBN: 9780133255881
You might also like
book
Exam Ref 70-481: Essentials of Developing Windows Store Apps Using HTML5 and JavaScript
Fully updated! Prepare for Microsoft Exam 70-481 - and help demonstrate your real-world mastery of Windows …
book
jQuery and JavaScript Phrasebook
Get more done faster with jQuery and JavaScript! Brad Dayley’s jQuery and JavaScript Phrasebook brings together …
book
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day, Sixth Edition …
book
JavaScript & DHTML Cookbook
On numerous online forums for JavaScript and DHTML, the majority of questions begin with "How do …