Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp."— Presentation transcript:

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

2

3 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

4 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

5 Windows 8  Makes Windows 7 even better Everything that runs on Windows 7 still runs on Windows 8  Reimagines Windows from chipset to experience New range of capabilities, scenarios and form factors

6 demo

7 Platform Investments

8 Key Investments New Windows Runtime (WinRT) APIsNew App Execution EnvironmentNew Windows 8 User ExperienceWindows Store

9 Windows 8 Platform Metro style Apps HTML JavaScript C C++ C# VB Desktop Apps Win32.NET / SL Internet Explorer Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media System Services JavaScript (Chakra) C C++ C# VB XAMLHTML / CSS View Model Controller Windows Core OS Services Core

10 demo Hello WinRT in C++

11 What Did We See…  WinRT APIs are native  XAML used from C++  Portable C++ code

12 Surface of WinRT APIs

13 Metro Style Application APIs Fundamentals Application ServicesThreading/TimersMemory ManagementAuthenticationCryptographyGlobalization Devices GeolocationPortableSensorsNFC User Interface SVGTilesInputAccessibilityPrinting HTML5/CSSXAMLDirectXControlsData Binding Communications & Data Memory Management XMLNetworkingSMS NotificationsStreams ContractsLocal & Cloud StorageWeb Media PlaybackCapturePlayToVisual Effects

14 demo

15 What Did We See…  WinRT APIs are asychronous  WinRT APIs provide rich access to device, OS and services  WinRT APIs feel natural in C#, Javascript and C++

16 Language projections Windows Runtime Object (or Component) Written in C++, C#, VB Windows Metadata C++ App Projection CLR C#/VB App Projection HTML App Chakra Projection

17 What Did We See feel natural in C# provide rich access to device, OS and services are asynchronous WinRT APIs

18 User Experience

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

20 Traits of a Metro Style App Metro style designFast and fluidSnap and scale beautifullyUse the right contractsInvest in a great TileFeel connected and aliveRoam the cloudEmbrace Metro principles Metro style designFast 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

21 Windows Store

22 demo Windows Store

23 The Windows Store (More Later Today)  Designed for discovery  Unprecedented reach  Flexible business models  Best economics

24 App Execution Environment

25 Metro Style App Acquisition Windows Store backend Package Manager Windows Store install Execution Engine Extension Handler stage Single instance store register Registration Information

26 Building Blocks of an App Package  App Manifest contains all information needed to deploy the 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

27 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

28 demo Capabilities

29 Process State Transitions Running App Suspended App Terminated App

30 Process Isolation OS User dataDevicesCommunicationsHandlersTilesCryptography…… Process1 Local context Web context AppData LocalTempRoaming Process2 Local context Web context AppData LocalTempRoaming

31 App Data vs. User Data User data DocumentsPhotos MusicVideos App data SettingsFiles Session StateLocal Cache

32 Roaming App uses data normally Data syncs for the user’s Microsoft account Local Storage

33 demo WinRT from JavaScript Accessing files

34 Recap on App Execution  Confidence  Capabilities driven  High isolation  Connected  Seamless data access  Data Roaming  Powerful  Performance  Integrates natively with the platform

35 Recap App Execution Connected Seamless data access Data Roaming Powerful Performant Native platform Confident Capabilities driven High isolation

36 Recap Programming language choice Best of breed tools Monetization Windows 8 platform reimagined for developers Amazing User Experiences Great Performance End-user confidence Windows 8 reimagined for end-users

37 Recap  Windows 8 reimagined for end-users  Amazing User Experiences  Great Performance  End-user confidence  Windows 8 platform reimagined for developers  Programming language choice  Best of breed tools  Monetization

38 Windows reimagined For consumers, for developers

39

40 In-Box Controls for Metro Style Apps Button CheckboxRadio Button HyperlinkCombo Box Context MenuFlyout List BoxFlip View App Bar Panning Indicator Grid View List ViewSemantic Zoom Text Box Progress RingProgress Bar Clear ButtonSpell Checking Password Reveal Button RatingRadio Button Scroll Bar Toggle SwitchTooltip


Download ppt "Platform for Metro Style Apps Michael Platt Senior Director Microsoft Corp."

Similar presentations


Ads by Google