I recently gave a presentation about using JavaScript in Universal Windows Platform apps. In combination with WinJS, AngularJS and Knockout JS. I explain how UWP apps work, how to build hosted web apps and how to write apps using the three frameworks.
6. Why ‘web’ technology?
• Great support in Microsoft Edge
• Many frameworks available
• Access toWindows Runtime
• Visual Studio Support
• TypeScript
• No cross-browser
• No legacy
7. Why not?
• No designer… anymore…
• Cross-platform
• Specific requirements
• Learning curve
• Documentation
8. Edge features
• WebGL
• WebAudio API
• New tags
• <Picture>
• <template>
• Webdriver
• Console API
• Content Security Policy (CSP)
• … Much more
http://status.modern.ie
9. Edge - JavaScript
• Template strings
• Promises
• Arrow functions
• Block bindings
• Get/set
• Symbols
• Spread
• Iterators
• Class
• Proxies
• … again much more
http://status.modern.ie
10. ES6 support
IE 10 IE 11
Edge
12
FF 38
Edge
13
FF 42 FF 43 FF 44
CH 46
OP 33
CH 47
OP 34
CH 48
OP 35
SF 6.1
SF 7
SF 7.1
SF 8
SF 9 WK
KQ
4.14
7% 16% 63% 84% 66% 71% 72% 74% 63% 63% 65% 12% 21% 54% 71% 13%
Desktop Browsers
https://kangax.github.io/compat-table/es6/
19. Hosted web apps.
• Perfect for existing web apps
• Package app without content
• Configure allowed URLs
• Mix’n’Match
• Reviews from MS during lifetime of app
• Not allowed to change during lifetime
Koploper ES6 implementatie
WinJS - Angular – Meteor – Knockout – React – Twitter bootstrap
Wel toegang to volledige WinRT API – Voicecommands, Bluetooth, Notifications, MIDI
Great VS support !
Eventueel TypeScript
Geen gedoe met Chrome of FF
Geen legacy… Geen gedoe met support voor 20 jaar oude browsers…