You are previewing Developing Windows Store Apps with HTML5 and JavaScript.
O'Reilly logo
Developing Windows Store Apps with HTML5 and JavaScript

Book Description

The Windows store is growing in popularity and with this step-by-step guide it’s easy to join the bandwagon using HTML5, CSS3, and JavaScript. From basic development techniques to publishing on the store, it’s the complete primer.

  • Learn about the powerful new features in HTML5 and CSS3

  • Quick start a JavaScript app from scratch

  • Get your app into the store and learn how to add authentication

  • In Detail

    Windows 8 has already been launched and been installed on millions of devices while the store is getting populated with apps, and soon enough everyone will want a Windows Store app. So start now and learn how to develop apps for Windows 8 using HTML5, CSS3, and JavaScript and you will be killing two birds with one stone by getting introduced to important features in HTML5 and CSS3 at the same time. You will gain the advantage of utilizing your web development skills to transform your website into an app or the other way round.

    Developing Windows Store Apps with HTML5 and JavaScript is a practical, hands-on guide that covers the basic and important features of a Windows Store App along with code examples which will show you how to develop these features, all the while learning some of the new features in HTML5 and CSS3 which you can utilize in other areas of development.

    This book starts with the new features in HTML5 and CSS3 that are incorporated with Windows 8 development, and then moves on to creating a blank Windows Store app and add features to it as we move through the chapters till we package the app and make it ready for publishing. Finally, we will have a look at how similar it is to develop the same app with XAML.

    You will also learn how to add and use new controls dedicated for Windows 8 and then see how to fetch data for the app and bind it to the controls. We will also take a look at making the app adapt to change in screen sizes and rotation as well as how to make the app live with tiles and allow users to sign in using their email accounts. Also you will learn how to add an app bar, and lastly you learn how to finalize the app and publish it. If you want to leverage your web development skills and utilize it in developing for Windows 8, then you came to the right place. Developing Windows Store Apps with HTML5 and JavaScript is packed with examples and screenshots which will make it easy for you to implement all the things you learned throughout the book.

    Table of Contents

    1. Developing Windows Store Apps with HTML5 and JavaScript
      1. Table of Contents
      2. Developing Windows Store Apps with HTML5 and JavaScript
      3. Credits
      4. About the Author
      5. Acknowledgments
      6. About the Reviewers
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      9. 1. HTML5 Structure
        1. Understanding semantic elements
        2. Introducing built-in media elements
          1. Advanced media with JavaScript
        3. Introducing feature-rich form elements
          1. An enriched <input> tag
          2. Easy validation
        4. Assigning custom data attributes
        5. Summary
      10. 2. Styling with CSS3
        1. The power of CSS3 selectors
          1. Attribute selectors
          2. Combinator selectors
          3. Pseudo-class selectors
          4. Pseudo-element selectors
        2. Creating fluid layouts with Grid and Flexbox
          1. The Grid layout
          2. The Flexbox layout
        3. CSS-powered animations
          1. CSS3 animations
          2. CSS3 transforms
        4. Introducing media queries
        5. Summary
      11. 3. JavaScript for Windows Apps
        1. Asynchronous programming with Promise objects
        2. Querying the DOM with WinJS.Utilities
        3. Understanding WinJS.xhr
        4. Introducing a new set of controls
        5. Summary
      12. 4. Developing Apps with JavaScript
        1. Introducing the tools
          1. Getting a free developer license
        2. Using Visual Studio and its templates
          1. Project item templates
        3. Getting started with Blank App
        4. Understanding the ListView control
        5. Summary
      13. 5. Binding Data to the App
        1. Getting the data
        2. Displaying the data
        3. Sorting and filtering the data
        4. Summary
      14. 6. Making the App Responsive
        1. Introducing app view states
        2. Handling a view state
        3. Understanding semantic zoom
        4. Summary
      15. 7. Making the App Live with Tiles and Notifications
        1. Introducing tiles, badges, and notifications
          1. Working with live tiles
        2. Sending notifications
        3. Summary
      16. 8. Signing Users in
        1. Introducing Live Connect
        2. Signing in users to the app
          1. Getting user info
        3. Summary
      17. 9. Adding Menus and Commands
        1. Understanding the app bar
          1. Adding functionality to the commands
        2. Summary
      18. 10. Packaging and Publishing
        1. Introducing the Windows Store
          1. Submitting the app for certification
        2. The Store within Visual Studio
          1. Creating an App Package
        3. Summary
      19. 11. Developing Apps with XAML
        1. Creating apps with different platforms
        2. Introducing XAML apps
          1. Adding a title, theme color, and content
        3. Summary
      20. Index