What is the Windows Runtime User Interface HTML


































- Slides: 34
What is the Windows Runtime?
User Interface HTML 5/CSS XAML Direct. X Controls Data Binding SVG Tiles Input Accessibility Printing Communications & Data Devices Geolocation Portable Sensors NFC Media Playback Capture Play. To Visual Effects Local & Cloud Storage Contracts Notifications Streams XML Networking Background Transfer Web SMS Fundamentals Application Services Threading/Timers Memory Management Authentication Cryptography Globalization
Metro style Apps View Model Controller System Services Kernel HTML / CSS XAML C/C++ Desktop Apps C#, VB Java. Script (Chakra) HTML C C++ C# VB Internet Explorer Win 32 . NET SL Java. Script Windows Runtime APIs Communication & Data Graphics & Media Application Model Devices & Printing Windows Kernel Services
Metro style app Language Support (CLR, Win. JS, CRT) Language Projection Windows Metadata & Namespace UI Pickers Controls Media XAML Storage Network … Windows Runtime Core Windows Core Web Host (HTML, CSS, Java. Script)) Runtime Broker
Inside a Windows Metro style app
Metro style app Language Support (CLR, Win. JS, CRT) Language Projection Windows Metadata & Namespace UI Pickers Controls Media XAML Storage Network … Windows Runtime Core Windows Core Web Host (HTML, CSS, Java. Script)) Runtime Broker
Strings HSTRING Avoids copying in multiple languages Basic Types INT 32, UINT 64 * Pointers allowed in limited cases Enumerations enum Async. Status Flag or non-flag styles Structures struct Rect; Can contain strings, but not interfaces Simple Arrays INT 32 [] For very basic collections Interfaces IInspectable Methods are defined in interfaces Generic Interfaces IVector<T> Type-generic interface Runtime Class Windows. Storage. File Binds interfaces to make a class
Metro style app Language Support (CLR, Win. JS, CRT) Language Projection Windows Metadata & Namespace UI Pickers Controls Media XAML Storage Network … Windows Runtime Core Windows Core Web Host (HTML, CSS, Java. Script)) Runtime Broker
Shell 32. dll Object Activation Store (Registry) Windows Metadata (Disk)
Projection C++ App Chakra Projection Windows Metadata CLR Projection Object C#/VB App HTML App
Start IInspectable returned Projection creates wrapper (using metadata) App asks to create object Object created by implementation code Object bound to wrapper Projection Pass Name to Ro. Activate. Instance Find DLL using Catalog Call Dll. Get. Activation. Factory Load DLL Wrapper returned to App End Win. RT Object Manager Win. RT Object
Object App Windows Metadata v 9 Projection Windows Metadata v 8 Object App
Metro style app Language Support (CLR, Win. JS, CRT) Language Projection Windows Metadata & Namespace UI Pickers Controls Media XAML Storage Network … Windows Runtime Core Windows Core Web Host (HTML, CSS, Java. Script)) Runtime Broker
Collections IVector<T>, IVector. View<T>, IMap<T> Iterators, Collections and events cross-language Delegates delegate Async. Action. Completed. Handler Encapsulate the context to call back to an object Events IApplication. Layout: : Layout. Changed Lists of callback recipients Property. Set interface IProperty. Set Collection of items with varying types Async Interface Receive. Properties. Operation A way to get a delayed result without blocking Contracts Windows. Application. Model. Data. Transfer. Manager Connect Apps to Windows Extension Points
C++ App STL-style Projection Array Associative Collection Chakra Java. Script Projection CLR IEnumerable (T) style Projection C#/VB App HTML App
App Windows UI Object App Code Windows Object App Code
Projection Windows Runtime Object Proxy Runtime. Broker. exe App
http: //forums. dev. windows. com http: //bldw. in/Session. Feedback