Developing Windows Store Apps with HTML5 and JavaScript

By Rami Sarieddine

The home windows shop is transforming into in acceptance and with this step by step advisor it is simple to hitch the bandwagon utilizing HTML5, CSS3, and JavaScript. From uncomplicated improvement thoughts to publishing at the shop, it is the whole primer.

Overview

  • Learn concerning the strong new gains in HTML5 and CSS3
  • Quick commence a JavaScript app from scratch
  • Get your app into the shop and how one can upload authentication

In Detail

Windows eight has already been introduced and been put in on hundreds of thousands of units whereas the shop is getting populated with apps, and shortly adequate every body will desire a home windows shop app. So commence now and how one can enhance apps for home windows eight utilizing HTML5, CSS3, and JavaScript and you'll be killing birds with one stone via getting brought to special positive aspects in HTML5 and CSS3 even as. you are going to achieve the benefit of using your net improvement talents to remodel your web site into an app or the opposite direction round.

Developing home windows shop Apps with HTML5 and JavaScript is a pragmatic, hands-on consultant that covers the fundamental and demanding beneficial properties of a home windows shop App in addition to code examples so as to enable you to increase those good points, the entire whereas studying the various new beneficial properties in HTML5 and CSS3 which you could make the most of in different components of development.

This ebook starts off with the recent good points in HTML5 and CSS3 which are included with home windows eight improvement, after which strikes directly to making a clean home windows shop app and upload positive factors to it as we go through the chapters until eventually we package deal the app and make it prepared for publishing. ultimately, we'll take a look at how related it truly is to improve an analogous app with XAML.

You also will find out how to upload and use new controls committed for home windows eight after which see the way to fetch info for the app and bind it to the controls. we'll additionally have a look at making the app adapt to alter in reveal sizes and rotation in addition to the way to make the app dwell with tiles and make allowance clients to check in utilizing their e-mail debts. additionally you'll tips on how to upload an app bar, and finally you the right way to finalize the app and post it. that allows you to leverage your internet improvement abilities and put it to use in constructing for home windows eight, you then got here to the perfect position. constructing home windows shop Apps with HTML5 and JavaScript is full of examples and screenshots on the way to make it effortless that you should enforce everything you discovered during the book.

What you'll research from this book

  • Using HTML5 elements
  • Styling with CSS3
  • Using home windows Library for JavaScript controls
  • Getting info through internet URLs and binding it to controls
  • Creating a clean home windows shop JavaScript app
  • Understanding view states and making the app responsive
  • Adding stay tiles and notifications for the app
  • Creating a uncomplicated app utilizing XAML
  • Adding consumer sign-in beneficial properties through electronic mail accounts
  • Understanding the home windows shop and publishing the app

Approach

This e-book is a hands-on consultant that follows a step by step educational procedure which discusses home windows eight software improvement with HTML5, CSS3, and JavaScript.

Who this publication is written for

This publication is superb for builders who are looking to commence constructing for home windows eight and it additionally objectives builders who are looking to get brought to robust developments in standards-based net know-how, whereas utilizing it to construct home windows shop apps, in addition to leveraging their latest abilities and code resources in net development.

Show description

Preview of Developing Windows Store Apps with HTML5 and JavaScript PDF

Similar Java books

Mastering Lambdas: Java Programming in a Multicore World (Oracle Press)

The Definitive advisor to Lambda Expressions getting to know Lambdas: Java Programming in a Multicore international describes how the lambda-related positive aspects of Java SE eight will let Java to satisfy the demanding situations of next-generation parallel architectures. The ebook explains tips on how to write lambdas, and the way to exploit them in streams and in assortment processing, supplying code examples all through.

Mastering JavaFX 8 Controls (Oracle Press)

Layout and installation High-Performance JavaFX Controls carry cutting-edge purposes with visually lovely UIs. studying JavaFX eight Controls offers transparent directions, specific examples, and ready-to-use code samples. the right way to paintings with the most recent JavaFX APIs, configure UI parts, immediately generate FXML, construct state of the art controls, and successfully observe CSS styling.

Data Abstraction and Problem Solving with Java: Walls and Mirrors (3rd Edition)

The 3rd variation of information Abstraction and challenge fixing with Java: partitions and Mirrors employs the analogies of partitions (data abstraction) and Mirrors (recursion) to coach Java programming layout options, in a manner that starting scholars locate available. The e-book has a student-friendly pedagogical procedure that rigorously debts for the strengths and weaknesses of the Java language.

Java Software Solutions: Foundations of Program Design (7th Edition)

Java software program strategies teaches a beginning of programming suggestions to foster well-designed object-oriented software program. Heralded for its integration of small and big lifelike examples, this world wide best-selling textual content emphasizes construction strong problem-solving and layout talents to jot down high quality courses.

Extra info for Developing Windows Store Apps with HTML5 and JavaScript

Show sample text content

118 ] Chapter eight within the earlier traces of code, we outlined a unmarried scope utilizing this layout: scope: "wl. signin", that is a string parameter. we will be able to outline a number of scopes to boot, yet with a marginally diverse layout, utilizing an array of string values, as proven within the following line of code: scope: ["wl. signin", "wl. skydrive", "wl. basics"] The scope is additionally set while initializing the library via passing it as an non-compulsory parameter to the WL. init technique. additionally, the scope values entered within the login procedure will override and expand the checklist of scopes outlined within the init procedure. additionally, the scope worth of WL. init is used while there has been no scope supplied by way of the login approach. The WL. login functionality will be known as merely in keeping with a person motion, akin to clicking a button as in our instance, simply because this functionality may end up in launching the consent web page suggested. The log functionality simply takes textual content, and easily appends it to the contents of the div with the IDlog in order that we will get prestige details of what has occurred. Run the app now. you will discover the next screenshot prompting you to log in; the consent conversation will stick to: [ 119 ] Signing clients in persist with the stairs that seem within the past screenshot. on the finish, the app will demonstrate the message: you're signed in! Getting person details The login functionality returns a promise item that permits us to correctly react in case of a hit, that's, a winning sign-in via the consumer. Our aim is to get the user's profile info. As such we have to regulate the formerly proven WL. login name and request extra scopes corresponding to wl. uncomplicated, wl. birthday, and wl. emails, that allows you to let us retrieve simple profile details similar to first and final names and likewise get the user's birthday and e-mails. within the luck callback of the login technique, we then execute a decision to the WL. api functionality, which returns our wanted consumer profile information. Technically, the WL. api functionality makes a choice to the dwell attach Representational kingdom move (REST) API. The syntax to the WL. api name is proven within the following code: WL. api({ direction: "me" , technique: "GET" }); within the past code pattern, we handed the me shortcut to request information in regards to the signed-in person. the trail parameter specifies the trail to the remaining API item, thus the article me, which incorporates houses akin to first_name and last_name; WL. api returns a promise item to be able to name then() on it, and within the luck callback we are going to request the 1st and final names of the person, that are supplied through the scope "wl. basic". The code could be as follows: WL. api({ course: "me" , technique: "GET" }). then( functionality (response) { log("First identify: " + reaction. first_name); log("Last identify: " + reaction. last_name); log("Email: " + reaction. emails. preferred); log("Birthday: " + reaction. birth_day + "/" + reaction. birth_month); } upload the former code to the then technique referred to as on WL. login within the sign-in button click on handler, and the full code should be as follows: rfile. querySelector("#signIn").

Download PDF sample

Rated 4.66 of 5 – based on 15 votes