Dev-In-Town: Windows 7 by Jabez Gan
-
Upload
quek-lilian -
Category
Technology
-
view
665 -
download
0
Transcript of Dev-In-Town: Windows 7 by Jabez Gan
![Page 1: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/1.jpg)
devInTown
Jabez Gan Ming TeikWindows Server – File System/Storage MVPEmail: [email protected]: http://www.msblog.org
![Page 2: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/2.jpg)
Overview of Windows ® 7 How it stands out from the crowd
Jabez Gan Ming TeikWindows Server – File System/Storage MVPEmail: [email protected]: http://www.msblog.org Level 200
![Page 3: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/3.jpg)
7 Ways to make you App Shine on Windows 7
Fundamentals
Taskbar
Libraries
Multi Touch
Ribbon
Sensor and Location
Graphics
![Page 4: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/4.jpg)
Windows Vista: Lessons Learnt
Minimize change Keep Laser sharp focus on OS stability, reliability and performance. More importantly avoid disruptions
Help bolster productivity
Reduce learning curve and provide improved toolsets and documentation
Create new and exciting
experiences
Build next generation software experiences that make your users lives richer
![Page 5: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/5.jpg)
Few Changes: Most software that runs on Windows Vista will run on Windows 7 - exceptions will be low level code (AV,
Firewall, Imaging, etc). Hardware that runs Windows Vista well will run Windows 7 well.
Windows 7
Few Changes: Focus on quality and reliability improvements
Windows 7 Builds on Windows Vista
Deep Changes: New models for security, drivers, deployment, and
networking
![Page 6: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/6.jpg)
Fundamentals
![Page 7: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/7.jpg)
Improved Fundamentals
MemoryReference set, Graphics
Disk I/ORegistry Reads, Indexer
PowerDVD Playback, Panel, Timers
SpeedFaster Boot, Device Ready
ResponsivenessStart menu, Taskbar
Scale256 cores
IncreaseDecrease
![Page 8: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/8.jpg)
Responsive and Ready
Power Efficient applicationsExtended operation on battery power Leverage latest energy-efficient hardwareNew infrastructure and tools for developers and testers
Service Control ManagerTrigger-starting of system services
Windows Troubleshooting PlatformAutomated troubleshooting problem resolutionHighly configurable and integrated with Windows 7 Solution Center
![Page 9: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/9.jpg)
Improved Fundamentals
Troubleshooting in Action
Demo
![Page 10: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/10.jpg)
Call to Action: Fundamentals
Read the application quality cookbookMake your application Windows 7 compatible
Become UAC aware, Support x64, Sign files & drivers, no OS version checking, support multi user sessions…. Install to correct folders / transactional uninstallSelf Certified with new Logo automatic tool
Windows 7 resources optimizationBecome power awareRetire old “XP” services to Windows 7 tasks Use triggered Services
Help your users by providing a troubleshoot pack and Windows Error Reporting
![Page 11: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/11.jpg)
Basic Windows 7 Light-up
![Page 12: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/12.jpg)
Basic Windows 7 Light-up
Taskbar and Jump ListsLibraries and Windows Explorer
![Page 13: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/13.jpg)
Windows 7 TaskbarJump Lists Thumbnail Toolbars Custom SwitchersIconsOverlay IconsProgress Bars
Enhanced user experienceQuick and easy launch of applicationsEasier to manage windows The user is in controlClean and lightweightStandard Windows UX guidelines
All of Microsoft’s products
![Page 14: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/14.jpg)
Face of your programLarge and small iconsOnly customer can pinColor hot-track
Windows 7 Taskbar – Icons
Icon OverlaySurface important notificationsAppears over your program’s icon
Progress barSurface important notificationsAppears in your taskbar button
![Page 15: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/15.jpg)
Mini Start Menu for your programSurface key destinations and tasksCustomizableAccessible via right-click and via dragAPIs use the name “Destination List”
Windows 7 Taskbar – Jump Lists
![Page 16: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/16.jpg)
Custom thumbnails for each windowAppears in your program’s window list
Windows 7 Taskbar – Custom Switchers
![Page 17: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/17.jpg)
Basic Light Up
Windows 7 Taskbar in action
Demo
![Page 18: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/18.jpg)
Windows Explorer
Massive growth in digital content
Users demand powerful and intuitive tools to custom visualization, search, organize and browse
Two primary ways for finding data:Browse by location, context, visual cuesSearch by name, metadata and full-text
![Page 19: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/19.jpg)
Rich Metadata
Cleaner navigation
Easy Previews
Powerful Instant SearchArrangement Views
Federated Search
Libraries
Windows 7 "New" Explorer
![Page 20: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/20.jpg)
Libraries
![Page 21: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/21.jpg)
Libraries
New entry points to user datai.e. FOLDERID_ MusicLibrary
Collections of user foldersCommon storeEach folder is indexed
Storage backedDefault save locationWork like folders
![Page 22: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/22.jpg)
Windows Explorer and Libraries in Action
DemoBasic Light Up
![Page 23: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/23.jpg)
Supporting and Using LibrariesYour application should:
Support open and save in librariesSelect and consume library contentsStay in sync with library locations
e.g. Windows Media Player
The Windows 7 enables this via:Common File Dialog
Native: IFileDialogManaged: System.Windows.Forms.FileDialog
Shell abstractions (i.e. IShellFolder)New Library API to manage libraries
![Page 24: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/24.jpg)
Richer Experiences
![Page 25: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/25.jpg)
Richer Application Expereinces
Multi-touchRibbon User InterfaceSensor and LocationEnhanced Graphics
![Page 26: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/26.jpg)
Multi - Touch Is HereMT is defined a two or more independently traceable touch points.Consumers
MT scored very favorably in user testingProven successful touch interfacesMulti-Touch offers clear differentiation with a high “WOW” factor for consumersMulti-touch enhances on-the-go use and enable new scenarios
HardwareMulti-touch capable machines in market today in a broad set of form factors
![Page 27: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/27.jpg)
Windows Ribbon
Proven and very successful UX concept
Improve usability and discoverability Increase user productivity
Improve developer productivityBased on common architectural Eliminate much of Win32 UI development
![Page 28: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/28.jpg)
Application Menu
Quick Access Toolbar
Tab Contextual Tab Set
Contextual Tab
Help
Group (aka “Chunk”)
Dialog Launcher
In-box with Windows 7, redistribution available to VistaWin32 API, Feature parity (or close) with Microsoft Office 2007 Ribbon, and WPF Ribbon
Windows Ribbon
![Page 29: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/29.jpg)
Categorized Menus
Tabs & Groups
Color Pickers
Mini Toolbar &Contextual Menu
Dropdown GalleriesTooltips
Check Boxes
Spinners
Font Control
Group Dialog Launchers
“In-Ribbon” Galleries
Combo Boxes
Buttons & Split Buttons
Windows Ribbon - Controls
![Page 30: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/30.jpg)
Sensor And Location Platform
Provides unified driver model for all types of sensor devices
Physical sensors (e.g. Motion, GPS, Light Sensors)Logical sensor (e.g. Wi-Fi triangulation, IP resolver)
Provides standard APIs for accessing sensorsSensor API: C++/COM / Managed codeLocation API: C++/COM, Idispatch Managed code
Puts user in control of information disclosure
![Page 31: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/31.jpg)
Direct2D
Direct3D Segoe UIDirectWrite
DXVA & WIC
Graphic ImprovementsWindows 7 DWM memory consumption is cut by 50% per windowTake advantage of the GPU’s computation powerHigh-DPI support & High ColorGreat interoperability across technologies
![Page 32: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/32.jpg)
DirectWrite
Modern TypographyClearType advancesWorks with any rendering technologyHardware accelerated via Direct2DBest reading experience for the PC
![Page 33: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/33.jpg)
Integrate Windows and the Web
![Page 34: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/34.jpg)
Federated SearchConsistent experience across providers
Document Repository
Enterprise Data Store
Enterprise Application
![Page 35: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/35.jpg)
Internet Explorer 8
PerformanceFastest browser for page loads
StandardsFull CSS 2.1 test suite compliance
Malware / Phishing AttacksProtects against 4x as many attacks as other browsers
![Page 36: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/36.jpg)
Page Load Times# Site Firefox Chrome IE
1 google.com
2 yahoo.com
3 live.com
4 msn.com
5 youtube.com
6 microsoft.com
7 wikipedia.com
8 blogger.com
9 facebook.com
10 qq.com
11 baidu.com
12 myspace.com
13 wordpress.com
# Site Firefox Chrome IE
14 ebay.com
15 sina.com.cn
16 mozilla.com
17 adobe.com
18 aol.com
19 amazon.com
20 apple.com
21 soso.com
22 xunlei.com
23 163.com
24 google.cn
25 ask.com
Total 4 9 12
![Page 37: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/37.jpg)
Call to ActionWindows 7 Application CompatibilityOptimize for Windows 7
Use Windows 7 new Taskbar & jump listsBecome library aware
Manage files & data with libraries
Create next generation software:Develop for Multi-Touch Use the Ribbon were appropriateEnhance User Experience with Sensor and LocationAdopt the new DirectX Graphic APIs
![Page 38: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/38.jpg)
Resources
Developer for Windows 7 on MSDN http://msdn.microsoft.com/en-us/windows/dd433113.aspx Application Compatibilityhttp://msdn.microsoft.com/en-us/windows/aa904987.aspx
E7 bloghttp://blogs.msdn.com/e7
Windows 7 Developers Bloghttp://windowsteamblog.com/blogs/developers/default.aspx
Windows API Code Pack http://code.msdn.microsoft.com/WindowsAPICodePack
![Page 39: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/39.jpg)
Windows API Code Pack
Managed class library to ease .NET access to Windows 7 features
Shell, Libraries, Taskbar, Sensor, Graphics, Multi Touch, UAC, Power management, Restart and recovery, Network awareness, Aero Glass and more.
It is a library not a full productOpen source with no support
http://code.msdn.microsoft.com/WindowsAPICodePack
![Page 40: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/40.jpg)
Q&A
![Page 41: Dev-In-Town: Windows 7 by Jabez Gan](https://reader037.fdocuments.us/reader037/viewer/2022102711/5554b873b4c90559398b4923/html5/thumbnails/41.jpg)
© 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.