Windows 7 – čo prináša vývojárom? <Event Name and Date> 8/22/2019 6:52 AM Windows 7 – čo prináša vývojárom? Miroslav Kubovčík ISV Technical Readiness Microsoft Slovakia © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Na čo sa zameriame Pohľad na Windows 7 API Inovácie infraštruktúry Napojenie na externé dáta Aplikačná interakcia v UI Existujúce aplikácie a Windows 7
Aplikačné rozhrania Windows 7 Projekcia nových API pre vývojárov Inovácie infraštruktúry Windows TroubleShooting Platform, PowerShell 2 Trigger Start Services, Sensor API Napojenie na externé dáta Federated Search, Windows Web Services API Aplikačná interakcia v UI Multi-touch, Windows Ribbon, DirectX rozšírenia Taskbar API, Library API
„Kódovanie“ nad Windows 7 API V C/C++ Pretože väčšina API je natívnych V .NET jazykoch Pretože pre natívne API sú pripravené „interop“ knižnice v Windows API Code Pack Pretože .NET Framework 3.5 s SP1 je predinštalovaný na Windows 7 Powershell 2.0 Pre správu komponentov Pre špecifické technológie ako napr. Windows Troubleshooting Platform
Microsoft.WindowsAPICodePack DirectX Direct3D11 Direct3D Common DXGI Extended Linguistic Services Sensor Shell Presentation Taskbar http://code.msdn.microsoft.com/WindowsAPICodePack
Demo .NET Framework 3.5 v Windows 7 Štruktúra Windows API CodePack <Event Name and Date> 8/22/2019 6:52 AM Demo .NET Framework 3.5 v Windows 7 Štruktúra Windows API CodePack © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Na čo sa zameriame Pohľad na Windows 7 API Inovácie infraštruktúry Napojenie na externé dáta Aplikačná interakcia v UI Existujúce aplikácie a Windows 7
Architektúra platformy riešenia problémov Identikačné Metadáta Detekcia problému Získanie vstupu od užívateľa Informácie o stave riešenia Zápis do reportu GUI CMD Detekčné skripty Troubleshooting Platforma PowerShell Runtime Skripty riešení Verifikačné skripty Reporty „Resources“ lokalizácie
Trigger-Start Services Služby na pozadí majú veľký vplyv na výkon, bezpečnosť a spotrebu energie Treba minimalizovať počet súčasne bežiacich služieb „vzkriesenie“ služieb iba pri relevantnej podmienke Typy štartovania služieb v Windows XP – „Autoštart“ / Manuálne Vista – XP + pozdržaný „autoštart“ Win7 – Vista + štartovanie spúšťačmi Spúšťače služieb Pripojenie k doméne, získanie IP adresy, pripojenie zariadenia, zmena v group policy Možnosť definovania vlastného spúšťača
Demo Trigger Start Service <Event Name and Date> 8/22/2019 6:52 AM Demo Trigger Start Service © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Platforma „Sensor And Location“ Jednotný model ovládačov pre všetky typy senzorických zariadení Fyzické senzory (napr. GPS zariadenia, svetelné senzory) Logické senzory (napr. Wi-Fi lokácia) Sensor API Nízkoúrovňový prístup k senzoru cez UMDF ovládač Rozšírenie „citlivosti“ aplikácií Svetelný senzor, senzor pohybu, dotykový senzor atď. - Location API Rozhranie abstrahujúce lokalizačné dáta http://www.microsoft.com/whdc/device/sensors/default.mspx
Architektúra Sensor and Location API UMDF Sensor Driver Sensor Class Extension Sensor API Aplikácia Control Panel Location API
Demo Senzor úrovne osvetlenia v aplikácii <Event Name and Date> 8/22/2019 6:52 AM Demo Senzor úrovne osvetlenia v aplikácii © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Na čo sa zameriame Pohľad na Windows 7 API Inovácie infraštruktúry Napojenie na externé dáta Aplikačná interakcia v UI Existujúce aplikácie a Windows 7
Webové dáta na Windows 7 Federated Search Windows Web Services API Vyhľadávanie za hranicami lokálneho PC Dáta aj z proprietárnych zdrojov a podnikových databáz Windows Web Services API Natívne knižnice pre tvorbu a konzumáciu webových služieb Interoperabilita s WCF Internet Explorer 8 RSS feedy, webové oblasti, akcelerátory
Federated Search Integrovaný komfort pre používateľa Náhľady, metadáta, drag&drop Návyky z používania „prieskumníka“ Jednoduchá a odľahčená integrácia Žiadny klientský kód Ľubovoľna serverová platforma Založené na štandardoch OpenSearch 1.1 RSS a ATOM Autentizácia Integrovaná alebo vlastná 1. Nainštalovanie Search Connector-a (.osdx) 2. Windows pošle vyhľadávané slová ako HTTP požiadavku 3. RSS výsledky vrátené zo servera
<Event Name and Date> Demo Federated Search © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Na čo sa zameriame Pohľad na Windows 7 API Inovácie infraštruktúry Napojenie na externé dáta Aplikačná interakcia v UI Existujúce aplikácie a Windows 7
DirectX® Graphics Infrastructure Grafika v Windows 7 Direct Write Direct2D Direct3D 10 Direct3D11 DirectX® Graphics Infrastructure Uvedené v Windows 7 WIC DWM DXVA Direct3D 9 DXGKernel V Windows Vista® USER GDI Win32K GDI+
Interakcia v UI Multi-touch Windows 7 Taskbar Windows Ribbon Knižnice
Multi-touch a .NET Framework 4.0 Natívne Win32 Aplikácie WinForms Aplikácie WPF Aplikácie Surface Aplikácie Surface SDK 2.0 Surface Multi-touch prvky a API Manažovaný Wrapper a Interop WPF 4.0 Multi-touch API a prvky Windows 7 Windows 7 Multi-Touch API
Knižnice Definované ako kolekcie priečinkov Zoskupenie podľa účelu Nemusia mať spoločný koreňový priečinok „User-friendly“ sprístupnenie aplikačných výstupov reporty, faktúry, obrázky atď. Shell namespace v Windows API CodePAck Kompletná správa knižníc
<Event Name and Date> Demo Knižnice © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Windows 7 Taskbar Prehľadnosť a komfort Rýchle spúšťanie aplikácií „jumplist“ linky Ľahšia správa aplikačných okien Interaktívne náhľady Personalizácia „jumplist“ kategórie Indikácia stavu aplikačných úloh „progressbar“ a vrstvenie ikon Trieda TaskBar v Windows API CodePack
<Event Name and Date> Demo Windows 7 TaskBar © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Na čo sa zameriame Pohľad na Windows 7 API Inovácie infraštruktúry Napojenie na externé dáta Aplikačná interakcia v UI Existujúce aplikácie a Windows 7
Aplikačná kompatibilita Rôzne úrovne riešenia Úprava aplikačného kódu Nastavenie módu kompatibility Nasadenie aplikačných „shim-ov“ Volanie adresy v API je presmerované na špeciálnu knižnicu Spúšťanie aplikácie vo virtuálnom XP móde Windows Virtual PC
Aplikačná kompatibilita Najčastejšie príčiny úpravy aplikačného kódu Prechod z Windows XP na Windows 7 User Account Control Umiestňovanie súborov/dát/registry kľúčov Izolácia služieb Prechod z Windows Vista na Windows 7 Kontrola verzií OS Vyššie hodnoty DPI Nízkoúrovňové zmeny v systéme Prednastavený internetový prehliadač
Aplikačná kompatibilita Nástroje Windows Software Logo Toolkit Preverenie zásahu aplikácie do systému https://connect.microsoft.com/Downloads/Downloads.aspx?SiteID=831 Application Compatibility Toolkit Nástrojov pre riešenie kompatibility a „shimovanie“ http://www.microsoft.com/downloads/details.aspx?FamilyId=24DA89E9-B581-47B0-B45E-492DD6DA2971&displaylang=en Application Verifier Detekcia problémov natívnych aplikácií http://msdn.microsoft.com/en-us/library/ms220948.aspx Sysinternals Suite Monitorovanie procesov a privilégií http://download.sysinternals.com/Files/SysinternalsSuite.zip
Demo UAC, Integration level, virtualizácia „Program Files“ <Event Name and Date> 8/22/2019 6:52 AM Demo UAC, Integration level, virtualizácia „Program Files“ © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Zdroje Windows 7 SDK Windows API Code Pack http://msdn.microsoft.com/windows/bb980924.aspx Windows API Code Pack http://code.msdn.microsoft.com/WindowsAPICodePack Windows 7 Training Kit pre vývojárov http://www.microsoft.com/downloads/details.aspx?FamilyID=1c333f06-fadb-4d93-9c80-402621c600e7&displaylang=en
Zhrnutie Windows 7 vylepšuje existujúcu architektúru Dôraz na kompatibilitu, spoľahlivosť a bezpečnosť Implementuje najnovšie inovatívne trendy Podpora senzorov, služieb štartovaných spúšťačmi Nová úroveň aplikačnej interakcie Multi touch, Taskbar, Ribbon, Knižnice Sprístupnenie webu užívateľovi Federated Search, Windows Web Services API Široká paleta nástrojov kompatibility
8/22/2019 6:52 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.