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

Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Embed Size (px)

Citation preview

Page 1: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Platform for Metro Style AppsMichael PlattSenior Director Microsoft Corp

Page 2: Platform for Metro Style Apps Michael Platt Senior 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

Page 3: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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 Style Apps Michael Platt Senior Director Microsoft Corp

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 Style Apps Michael Platt Senior Director Microsoft Corp

Windows 8 reimagined

demo

Page 6: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Platform Investments

Page 7: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Key Investments

New Windows Runtime (WinRT) APIs

New App Execution Environment

New Windows 8 User Experience

Windows Store

Page 8: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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

Page 9: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

What Did We See… WinRT APIs are native

XAML used from C++

Portable C++ code

Page 10: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Surface of WinRT APIs

Page 11: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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

Page 12: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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

Page 13: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

User Experience

Page 14: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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

Page 15: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Windows Store

Page 16: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

demo Windows Store

Page 17: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

The Windows Store (More Later Today) Designed for discovery

Unprecedented reach

Flexible business models

Best economics

Page 18: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

App Execution Environment

Page 19: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Metro Style App Acquisition

Windows Store

backend

Package ManagerWindows

Store install

Execution Engine

Extension

Handler

stage Single instance store

register Registration Information

Page 20: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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 Style Apps Michael Platt Senior Director Microsoft Corp

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 Style Apps Michael Platt Senior Director Microsoft Corp

demoCapabilities

Page 23: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Process State Transitions

RunningApp

suspending

resuming

Suspended

AppLow Resources

Terminated

App

Page 24: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

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

Page 25: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Roaming

App uses data normally

Data syncs for the user’s Microsoft account

LocalStorage

Page 26: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Recap App Execution

Connected

Seamless data access Data Roaming

Powerful

PerformantNative platform

Confident

Capabilities driven High isolation

Page 27: Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp

Windows reimaginedFor consumers, for developers

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

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