Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp.
-
Upload
jonathan-anderson -
Category
Documents
-
view
216 -
download
1
Transcript of Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp.
Platform for Metro Style AppsMichael PlattSenior Director Microsoft Corp
Windows 7As of //build 2011
450,000,000 copies of Windows 7 sold
Internet Explorer 9 is the fastest growing Windows 7 browser
542,000,000, people signing into Windows Live services
Changing world of computing As of //build 2011
Form factors and user interactions models create new scenarios and opportunities
Mobility means devices you use while carrying, not just devices you carry
App developers want rich connectivity and sharing capabilities, connection to customers
Services are intrinsic in all software
Windows 8 Makes Windows 7 even betterEverything that runs on Windows 7 still runs on Windows 8
Reimagines Windows from chipset to experienceNew range of capabilities, scenarios and form factors
Windows 8 reimagined
demo
Platform Investments
Key Investments
New Windows Runtime (WinRT) APIs
New App Execution Environment
New Windows 8 User Experience
Windows Store
Windows 8 Platform
Metro style Apps
HTMLJavaScri
pt
CC++
C#VB
Desktop Apps
Win32
.NET / SL
Internet Explore
r
Communication
& Data
Application Model
Devices & Printing
WinRT APIsGraphics &
Media
Syst
em
Serv
ices
JavaScript(Chakra)
CC++
C#VB
XAML HTML / CSSVie
wM
od
el
Contr
olle
r
Windows Core OS ServicesCore
What Did We See… WinRT APIs are native
XAML used from C++
Portable C++ code
Surface of WinRT APIs
Metro Style Application APIs
FundamentalsApplication
Services Threading/Timers Memory Management Authentication Cryptography Globalization
Devices
Geolocation Portable Sensors NFC
User Interface
SVG Tiles Input Accessibility Printing
HTML5/CSS XAML DirectX Controls Data Binding
Communications & Data
Memory Management XML Networking SMS
Notifications Streams
Contracts Local & Cloud Storage Web
Media
Playback Capture PlayTo Visual Effects
Language projections
WindowsRuntime
Object(or Component)
Writtenin C++, C#, VB
Windows Metadata
C++ App
Pro
jecti
on
CLR
C#/VB App
Pro
jecti
on
HTML AppCh
akra
Pro
jecti
on
User Experience
Metro style apps
Metro style design
Fast and fluid
Snap and scale beautifully
Use the right contracts
Invest in a great Tile
Feel connected and alive
Roam the cloud
Embrace Metro principles
Windows Store
demo Windows Store
The Windows Store (More Later Today) Designed for discovery
Unprecedented reach
Flexible business models
Best economics
App Execution Environment
Metro Style App Acquisition
Windows Store
backend
Package ManagerWindows
Store install
Execution Engine
Extension
Handler
stage Single instance store
register Registration Information
Building Blocks of an App Package App Manifest contains all information needed to deploythe app
Blockmap contains hashes of all files within the app package
Signature validates the integrity of the app package
AppXManifest.xml
BlockMap
Signature
Zip Central Directory
Files / Assets
.appx package
App Manifest and Capabilities Explicitly declares the app integration endpoints File capabilities (music/pictures/videos/documents libraries,
removable storage) Devices (webcam, microphone, location, sms, proximity);
extensible to new device classes Network and identity (internet, private network, credentials) File type associations App contracts (search, share, etc.)
Contained in appxmanifest.xml; Visual Studio provides editor
demoCapabilities
Process State Transitions
RunningApp
suspending
resuming
Suspended
AppLow Resources
Terminated
App
Process Isolation
OS
User data Devices Communications Handlers Tiles Cryptography … …
Bro
ker
s
Process1Local context
Web contextAppData
Local Temp Roaming
Contracts
Process2Local context
Web contextAppData
Local Temp Roaming
Dire
ct A
PIs
Roaming
App uses data normally
Data syncs for the user’s Microsoft account
LocalStorage
Recap App Execution
Connected
Seamless data access Data Roaming
Powerful
PerformantNative platform
Confident
Capabilities driven High isolation
Windows reimaginedFor consumers, for developers
In-Box Controls for Metro Style AppsButton
Checkbox Radio Button
Hyperlink Combo Box
Context Menu
Flyout
List BoxFlip View
App Bar
Panning Indicator
Grid View
List View Semantic Zoom
Text Box
Progress Ring Progress Bar
Clear ButtonSpell Checking
Password Reveal Button
Rating Radio Button
Scroll Bar
Toggle Switch Tooltip