platform for metro s tyle apps

29
Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Upload: caden

Post on 08-Feb-2016

48 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: Platform for Metro  S tyle Apps

Platform for Metro Style AppsMichael PlattSenior Director Microsoft Corp

Page 2: Platform for Metro  S tyle Apps

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

Page 3: Platform for Metro  S tyle Apps

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

Page 4: Platform for Metro  S tyle Apps

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

Page 5: Platform for Metro  S tyle Apps

Windows 8 reimagined demo

Page 6: Platform for Metro  S tyle Apps

Platform Investments

Page 7: Platform for Metro  S tyle Apps

Key InvestmentsNew Windows Runtime (WinRT) APIs

New App Execution Environment

New Windows 8 User Experience

Windows Store

Page 8: Platform for Metro  S tyle Apps

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

Page 9: Platform for Metro  S tyle Apps

What Did We See… WinRT APIs are native

XAML used from C++

Portable C++ code

Page 10: Platform for Metro  S tyle Apps

Surface of WinRT APIs

Page 11: Platform for Metro  S tyle Apps

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

Page 12: Platform for Metro  S tyle Apps

Language projections

WindowsRuntime

Object(or Component)

Writtenin C++, C#, VB

Windows Metadata

C++ AppProjection

CLRC#/VB AppProjecti

onHTML AppChakra

Projection

Page 13: Platform for Metro  S tyle Apps

User Experience

Page 14: Platform for Metro  S tyle Apps

Metro style appsMetro style designFast and fluidSnap and scale beautifullyUse the right contractsInvest in a great TileFeel connected and aliveRoam the cloudEmbrace Metro principles

Page 15: Platform for Metro  S tyle Apps

Windows Store

Page 16: Platform for Metro  S tyle Apps

demo Windows Store

Page 17: Platform for Metro  S tyle Apps

The Windows Store (More Later Today) Designed for discovery

Unprecedented reach

Flexible business models

Best economics

Page 18: Platform for Metro  S tyle Apps

App Execution Environment

Page 19: Platform for Metro  S tyle Apps

Metro Style App AcquisitionWindows

Store backend

Package ManagerWindows

Store installExecution Engine

Extension

Handler

stage Single instance store

register Registration Information

Page 20: Platform for Metro  S tyle Apps

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

Page 21: Platform for Metro  S tyle Apps

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

Page 22: Platform for Metro  S tyle Apps

demoCapabilities

Page 23: Platform for Metro  S tyle Apps

Process State Transitions

RunningApp

suspending

resuming

Suspended

AppLow Resources

Terminated

App

Page 24: Platform for Metro  S tyle Apps

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

Page 25: Platform for Metro  S tyle Apps

Roaming

App uses data normally

Data syncs for the user’s Microsoft account

LocalStorage

Page 26: Platform for Metro  S tyle Apps

Recap App Execution

ConnectedSeamless data access Data Roaming

PowerfulPerformantNative platform

ConfidentCapabilities driven High isolation

Page 27: Platform for Metro  S tyle Apps

Windows reimaginedFor consumers, for developers

Page 28: Platform for Metro  S tyle Apps
Page 29: Platform for Metro  S tyle Apps

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