Download presentation
Presentation is loading. Please wait.
Published byHenry Ellis Modified over 9 years ago
1
Platform for building Windows Store Apps Agu Suur Frontend Developer Axinom
2
Agenda Introduction to the Windows 8 Platform Introduction to the APIs, StoreLet’s build something! You’ll leave understanding: The Windows 8 Platform investments
3
Windows reimagined A new UI where touch is a first-class citizen along with full mouse-and-keyboard support New development models built on WinRT, including native support for HTML/CSS/JS, C#/XAML, C++/DirectX Designed from the chipset up for multiple form- factors – tablets, laptops, desktops & all-in-ones The Windows Store on every device with a full commerce platform and flexibility
4
demo
5
Windows 8 Experience Fast and fluid user experience Responsive, alive, beautiful Immersive and full-screen Focuses attention on your apps Touch-first with full keyboard and mouse Enables your choice of interaction Web of apps working together Apps are connected to each other and the cloud Experience for all PC devices and architectures No compromise across new form factors, desktops and laptops
6
Windows Run-time (WinRT)
7
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 XAML HTML / CSS View Model Controller Windows Core OS Services Core DirectX
8
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
9
Windows Runtime 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
10
demo Hello WinRT in ?
11
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++
12
App Execution Environment
13
Windows Store app acquisition Windows Store backend Package Manager Windows Store install Execution Engine Extension Handler stage Single instance store register Registration Information
14
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
15
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
16
demo Capabilities
17
Process Isolation OS User dataDevicesCommunicationsHandlersTilesCryptography…… Process1 Local context Web context AppData LocalTempRoaming Process2 Local context Web context AppData LocalTempRoaming
18
Process state transitions Running App Suspended App No code runs App gets 5s to handle suspend App is not notified before termination Apps are notified when they have been resumed User Launche s App Splash screen
19
App data vs. User data User data DocumentsPhotos MusicVideos App data SettingsFiles Session StateLocal Cache
20
Roaming App uses data normally Data syncs for the user’s Microsoft account Local Storage
21
Recap: App execution Connected Seamless data access Data Roaming Powerful Performant Native platform Confident Capabilities driven High isolation
22
Windows Store
23
Unprecedented Reach Optimized for Discoverability Transparent Approval Process Flexible Business Models Maximizing Developer Revenue The Windows Store (more later)
24
Paid downloads, trials, and in-app purchases. You keep 70% of the first $25k, 80% of the rest Microsoft Confidential24 Robust analytics for free, including demographics, reviews, referrals, and usage & performance statistics Use your own commerce engine and keep 100% or use the Windows Store’s full commerce platform The Windows Store Advertise with Microsoft Advertising or your preferred ad vendor.
25
demo Windows Store
26
User Experience
27
Traits of a great app (more later) Leverage Microsoft designBe Fast and fluidSnap and scale beautifullyUse the right contractsInvest in a great TileFeel connected and aliveRoam to the cloudEmbrace Microsoft design principles
28
Recap
29
Windows reimagined A new Windows UI where touch is a first-class citizen along with full mouse-and-keyboard support New development models built on WinRT, including native support for HTML/CSS/JS, C#/XAML, C++/DirectX Designed from the chipset up for multiple form- factors – tablets, laptops, desktops & all-in-ones The Windows Store on every device with a full commerce platform and flexibility
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.