platform for metro s tyle apps
DESCRIPTION
Platform for Metro S tyle Apps. Michael Platt Senior Director Microsoft Corp. Windows 7 As 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. - PowerPoint PPT PresentationTRANSCRIPT
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 InvestmentsNew Windows Runtime (WinRT) APIs
New App Execution Environment
New Windows 8 User Experience
Windows Store
Windows 8 PlatformMetro style Apps
HTMLJavaScri
pt
CC++
C#VB
Desktop Apps
Win32
.NET / SL
Internet Explore
r
Communication
& DataApplication Model
Devices & Printing
WinRT APIsGraphics &
Media
Syst
em S
ervi
ces
JavaScript(Chakra)
CC++
C#VB
XAML HTML / CSSView
Mod
el
Cont
rolle
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
DevicesGeolocation 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
MediaPlayback Capture PlayTo Visual Effects
Language projections
WindowsRuntime
Object(or Component)
Writtenin C++, C#, VB
Windows Metadata
C++ AppProjection
CLRC#/VB AppProjecti
onHTML AppChakra
Projection
User Experience
Metro style appsMetro style designFast and fluidSnap and scale beautifullyUse the right contractsInvest in a great TileFeel connected and aliveRoam the cloudEmbrace 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 AcquisitionWindows
Store backend
Package ManagerWindows
Store installExecution 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
OSUser data Devices Communications Handlers Tiles Cryptography … …
Brokers
Process1Local context Web
contextAppData
Local Temp Roaming
Contracts
Process2Local context Web
contextAppData
Local Temp Roaming
Direct APIs
Roaming
App uses data normally
Data syncs for the user’s Microsoft account
LocalStorage
Recap App Execution
ConnectedSeamless data access Data Roaming
PowerfulPerformantNative platform
ConfidentCapabilities 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