Windows Store apps and the IE10 DOM

Windows 8 fully embraces web-tech as a means to develop applications for the windows store, however, there are a few things that you should be aware of, along the way. You can use your own JS libraries, or jQuery, or whatever you prefer ( assuming it behaves well in IE10 ). One thing to watch out for though is that all of your javascript files ( and css ) will need to be both 'valid' and properly UTF-8 encoded with the Byte Order Mark in place. Behind the scenes, IE10 appears to be caching your byte-code so it is validated during app submission.

There are some new events fired by Element that you should be aware of :

 
var stopThat = function(e) { e.preventDefault(); }; 

//Disable selection 
element.addEventListener("selectstart", stopThat, false ); 

// Disable visual on hold 
element.addEventListener("MSGestureHold", stopThat, false ); 

// Disable menu 
element.addEventListener("contextmenu", stopThat, false ); 

It is also worthwhile to read up on the 'new' -ms-touch-action CSS property. You can find more info from Microsoft here.

[UPDATE] This is relevant as well, for those coming from a webkit background. Adapting your WebKit-optimized site for Internet Explorer 10

Announcing Apache Cordova support for Windows Phone 8

It's been a busy morning here at the //build conference in Redmond, just piecing it all together now ... Over the last month and half or so, we have been quietly working away on bringing Windows Phone 8 support to Apache Cordova.  The SDK has been in private beta, so we had to fly under the radar, but I am proud to say we can finally talk about it.

The majority  of the effort has been done by Sergei Grebnov ( https://github.com/sgrebnov ) with tech support from the MSOpenTech team.

Expect to see the repos landing in github + apache shortly.  It doesn't look like it will be included as part of the 2.2.0 download, for release today or tomorrow, but I am trying to make that happen.  Downloading the public SDK right now ...

More from the MSOpenTech folk here:  http://aka.ms/l0njhq