windows 8 app java script dark side
TRANSCRIPT
Packaging and Runtime
App Container
HTML Host Process
App Code
Web platform
App Container
HTML Host Process
Internet Explorer
Web
Platform
TAB
App Code
Web Platform
Windows
Runtime
App Code
Simplified Windows app platform for HTML5
• Single HTML5 DOCTYPE
• Standards web, plug-in free
• Single window
+ Access to Windows Runtime
Process lifecycle
App
launch
Splash
screen
DOMContentLoaded
Load App Data, Setup Event
Handlers, Initialize UI
Activated
Load Saved
State, Handle
Activation
Parameters
.onLoad
Finish Long Running Setup
Activities
Splash Screen Displayed
Metro style apps in HTML5
Harnessing the power
of Windows
?
function
var new
".jpg" ".bmp" ".gif" ".png"
function
//storage file from WinRT, stream of bytes
var
Image Tag
Video Tag
Audio Tag
Host Enforcement