O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Beginning Windows Store Application Development–HTML and JavaScript Edition

Book Description

Beginning Windows Store Application Development – HTML and JavaScript Edition introduces you to the Windows 8 modern app design paradigm and the new Windows 8 programming model developed around this paradigm. You'll learn to build rich, immersive applications designed to run on the many devices powered by Windows 8.

The authors draw on their extensive practical experience to provide not only a comprehensive introduction to the model and its features, but guidance on best practices and a real-world sample application that you develop over the course of the book. Beginning Windows Store Application Development – HTML and JavaScript Edition also emphasizes how devices will be used and applications will be built in a world that has become far more connected. The book takes you beyond the syntax of any development language and examines factors such as application design, user experience, social integration, and maintaining data and settings across multiple devices.

What you'll learn

  • Apply Windows 8 modern UI style design guidelines to build effective user interfaces

  • Use the new programming libraries available in Windows 8

  • Effectively use application tiles and notifications

  • Integrate with Windows by exposing your application's data to Windows Search and Share menus

  • Consume services to bring data into your application

  • Use the cloud to share data and application settings across multiple devices

  • Publish your applications in the Windows Store

  • Who this book is for

    Beginning Windows Store Application Development – HTML and JavaScript Edition is for the novice programmer with a basic understanding of web development who is interested in learning how to build the next generation of applications designed to run on Windows 8. Readers who already have an understanding of HTML, CSS and JavaScript will get the most out of the book. It also is an excellent choice for more experienced developers who want to get started programming for Windows 8.

    Table of Contents

    1. Title Page
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Authors
    6. About the Technical Reviewer
    7. Acknowledgments
    8. Introduction
    9. CHAPTER 1: Welcome to a Touch-First World
      1. Moving to More Natural Interaction
      2. Windows 8 Touch Language
      3. Keys to a Successful Touch Interface
      4. Beyond Touch
      5. Conclusion
    10. CHAPTER 2: The Microsoft Design Language
      1. Swiss Design Style
      2. Microsoft Design Language
      3. Conclusion
    11. CHAPTER 3: Designing Windows Store Applications
      1. Communication Is Key
      2. What Should the Application Be Good At?
      3. Identify Functional Requirements
      4. Evaluate Identified Requirements
      5. Decompose Requirements
      6. Build Interaction Flows
      7. Wireframes
      8. Visual Design
      9. Conclusion
    12. CHAPTER 4: Visual Studio 2012 and Windows Store Application Types
      1. Visual Studio Editions
      2. Getting Started with Visual Studio
      3. Windows Store Application Types
      4. Conclusion
    13. CHAPTER 5: HTML Controls
      1. Visual Studio Projects
      2. The Controls
      3. Conclusion
    14. CHAPTER 6: WinJS Controls
      1. WinJS, WinRT, Windows RT, and Windows 8
      2. The Controls
      3. Conclusion
    15. CHAPTER 7: WinJS Collection Controls
      1. Collections
      2. The Controls
      3. Conclusion
    16. CHAPTER 8: WinJS Custom Controls
      1. Custom Controls
      2. Custom WinJS Controls with JavaScript
      3. Custom WinJS Controls Using the PageControl
      4. Conclusion
    17. CHAPTER 9: Building the User Interface
      1. Introducing Clok
      2. Creating the Project Shell
      3. Building the Dashboard
      4. Conclusion
    18. CHAPTER 10: Transitions and Animations
      1. Transitions and Animations: What’s the Difference
      2. Methods of Animation (and Transition)
      3. Conclusion
    19. CHAPTER 11: Data-Binding Concepts
      1. Our Data Model
      2. Manual Binding a Drop-Down List
      3. Binding Grouped Data to a ListView
      4. Binding Filtered Data to a ListView
      5. Setting a Data Context
      6. Binding Converters
      7. A Simple MapReduce Example
      8. Conclusion
    20. CHAPTER 12: Promises
      1. What Are Promises
      2. Recording Time Entries
      3. Viewing Time Entries
      4. Deleting Time Entries
      5. Conclusion
    21. CHAPTER 13: Web Workers
      1. Web Workers
      2. Graphing Time Entries
      3. Conclusion
    22. CHAPTER 14: Data Source Options
      1. Local Data Sources
      2. Remote Data Sources
      3. Conclusion
    23. CHAPTER 15: Session State and Settings
      1. Session State
      2. Local Settings
      3. Roaming Settings
      4. Conclusion
    24. CHAPTER 16: Files
      1. Windows.Storage Namespace
      2. Backups of Clok Data
      3. Document Library for Clok Projects
      4. Exploring the Project Documents
      5. Managing Project Documents
      6. Conclusion
    25. CHAPTER 17: Handling State Changes
      1. Application Activation State
      2. Application View State
      3. Conclusion
    26. CHAPTER 18: External Libraries
      1. JavaScript Libraries
      2. WinRT Components
      3. Conclusion
    27. CHAPTER 19: Search and Share Contracts
      1. Search
      2. Share
      3. Conclusion
    28. CHAPTER 20: Printing
      1. Web Development–Style Printing
      2. WinRT Printing
      3. Printing Alternate Content
      4. Advanced Printing Topics
      5. Conclusion
    29. CHAPTER 21: Notifications and Tiles
      1. Toast Notifications
      2. Tiles
      3. Conclusion
    30. CHAPTER 22: Camera and Location
      1. Camera
      2. Location
      3. Conclusion
    31. CHAPTER 23: Sharing Apps in the Windows Store
      1. Branding Your Application
      2. Navigating the Submission Process
      3. Packaging Your Application
      4. Conclusion
    32. Index