Presentation is loading. Please wait.

Presentation is loading. Please wait.

What is the Windows Runtime? Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local.

Similar presentations


Presentation on theme: "What is the Windows Runtime? Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local."— Presentation transcript:

1

2

3 What is the Windows Runtime?

4 Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local & Cloud Storage Streams Background Transfer User Interface HTML5/CSSXAMLDirectXControls InputAccessibilityPrinting Data Binding TilesSVG Fundamentals Application Services AuthenticationCryptography Globalizatio n Memory ManagementThreading/Timers Media Visual Effects Playbac k PlayToCapture

5 Windows Kernel Services JavaScript (Chakra) C/C++C#, VB Metro style Apps Communication & Data Application Model Devices & Printing Windows Runtime APIs Graphics & Media XAML HTML / CSS HTML JavaScrip t C C++ C# VB Desktop Apps Win32.NET SL Internet Explorer System Services View Model Controller Kernel

6

7 Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))

8

9

10 Inside a Windows Metro style app

11

12 Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))

13

14

15 Strings HSTRING Avoids copying in multiple languages Basic Types INT32, UINT64 * Pointers allowed in limited cases Enumerations enum AsyncStatus Flag or non-flag styles Structures struct Rect; Can contain strings, but not interfaces Simple Arrays INT32 [] For very basic collections Interfaces IInspectable Methods are defined in interfaces Generic Interfaces IVector Type-generic interface Runtime Class Windows.Storage. StorageFile Binds interfaces to make a class

16

17 Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))

18 Shell32.dll Object Activation Store (Registry)Windows Metadata (Disk)

19 Object Windows Metadata C++ App Projectio n CLR C#/VB App Projectio n HTML App Chakra Projectio n

20 Start App asks to create object Pass Name to RoActivateInstance Find DLL using Catalog Load DLL Call DllGet- ActivationFactory Object created by implementation code IInspectable returned Projection creates wrapper (using metadata) Object bound to wrapper Wrapper returned to App End App Projection WinRT Object Manager WinRT Object

21 Object Windows Metadata v8 App Projection Object Windows Metadata v9 App Projection

22

23 Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))

24 CollectionsIVector, IVectorView, IMap Iterators, Collections and events cross-language Delegatesdelegate AsyncActionCompletedHandler Encapsulate the context to call back to an object EventsIApplicationLayout::LayoutChang ed Lists of callback recipients PropertySetinterface IPropertySetCollection of items with varying types Async Interface ReceivePropertiesOperationA way to get a delayed result without blocking ContractsWindows.ApplicationModel. DataTransferManager Connect Apps to Windows Extension Points

25 Array Associative Collection C++ App STL-style Projection CLR C#/VB App IEnumerable (T) style Projection HTML App Chakra JavaScript Projection

26

27 App Windows UI Object Windows Object App Code Windows Object

28

29 RuntimeBroker.exe Windows Runtime Object App Projection Proxy

30

31

32

33 Great use of the template= a few tiny tweaks, but it looks very nice. Good luck in rehearsals today! -hannaha

34


Download ppt "What is the Windows Runtime? Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local."

Similar presentations


Ads by Google