41
devInTown Jabez Gan Ming Teik Windows Server – File System/Storage MVP Email: [email protected] Blog: http://www.msblog.org

Dev-In-Town: Windows 7 by Jabez Gan

Embed Size (px)

Citation preview

Page 1: Dev-In-Town: Windows 7 by Jabez Gan

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

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

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

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

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

Fundamentals

Page 7: Dev-In-Town: Windows 7 by Jabez Gan

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

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

Improved Fundamentals

Troubleshooting in Action

Demo

Page 10: Dev-In-Town: Windows 7 by Jabez Gan

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

Basic Windows 7 Light-up

Page 12: Dev-In-Town: Windows 7 by Jabez Gan

Basic Windows 7 Light-up

Taskbar and Jump ListsLibraries and Windows Explorer

Page 13: Dev-In-Town: Windows 7 by Jabez Gan

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

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

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

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

Basic Light Up

Windows 7 Taskbar in action

Demo

Page 18: Dev-In-Town: Windows 7 by Jabez Gan

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

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

Libraries

Page 21: Dev-In-Town: Windows 7 by Jabez Gan

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

Windows Explorer and Libraries in Action

DemoBasic Light Up

Page 23: Dev-In-Town: Windows 7 by Jabez Gan

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

Richer Experiences

Page 25: Dev-In-Town: Windows 7 by Jabez Gan

Richer Application Expereinces

Multi-touchRibbon User InterfaceSensor and LocationEnhanced Graphics

Page 26: Dev-In-Town: Windows 7 by Jabez Gan

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

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

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

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

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

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

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

Integrate Windows and the Web

Page 34: Dev-In-Town: Windows 7 by Jabez Gan

Federated SearchConsistent experience across providers

Document Repository

Enterprise Data Store

Enterprise Application

Page 35: Dev-In-Town: Windows 7 by Jabez Gan

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

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

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

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

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

Q&A

Page 41: Dev-In-Town: Windows 7 by Jabez Gan

© 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.