Successfully reported this slideshow.

微软客户端技术纵览

1,541 views

Published on

Published in: Technology
  • Be the first to comment

微软客户端技术纵览

  1. 1. 微软客户端技术纵览 喻勇 开发平台合作部 微软(中国)有限公司 fyu@microsoft.com http://blogs.technet.com/fyu
  2. 2. 内容提要 Windows 7开发新特性 IE8新特性 WPF & Silverlight 资源链接
  3. 3. Windows 7开发新特性
  4. 4. Windows 7的用户界面
  5. 5. 多点触摸 Jump Lists Ribbon User Interface Federated Search
  6. 6. 多点触摸技术
  7. 7. 多点触摸的开发技术路线图 Surface Multi-Touch Controls & API Multi-Touch Controls Multi-Touch API Multi-Touch API and Controls Multi-Touch API
  8. 8. 多点触摸的开发API选择 Good Better Best • Gesture notifications • Raw touch data APIs For Free! • Panning/zoom • Pan/zoom/rotate/etc • Manipulation and gestures Inertia processors • Right click gesture • Controls with standard • WM_GESTURE message • WM_TOUCH Native • COM based Win32 scrollbars Manipulation and Inertia Processors • WPF 4.0 pan support in • Gesture events • Touch events WPF • Inertia configuration • Manipulation and Inertia ScrollViewer Processors • Controls with standard • WM_GESTURE message • Manipulation and Inertia WinForms • P/Invoke scrollbars Processors in Microsoft.Ink.DLL • Real-time Stylus or Ink Collector
  9. 9. Windows 7的任务条
  10. 10. 活动窗口 运行中 未运行 多个窗口
  11. 11. Windows 7 Taskbar – Jump Lists
  12. 12. Windows 7 Taskbar – Jump Lists Pinned category Destinations Known categories (“nouns”) Custom categories User Tasks Tasks (“verbs”) Taskbar Tasks
  13. 13. 自定义Jump List Step 1: Hello World • 把程序跟文档进行关联 • 文件对话框 • 最近打开的文档列表 SHAddToRecentDocs(SHARDW_PATH, quot;file.extquot;); RH.RegisterFileAssociations(...); OpenFileDialog ofd = ...; ofd.ShowDialog(); JumpListManager jlm = ...; jlm.AddToRecent(quot;file.extquot;);
  14. 14. 自定义Jump List Step 2: 添加任务 • 用户希望 – 以特定的参数或者命令行启动应用程序 – 启动其他应用程序 • IShellLink objects – 可以包括参数、工作路径、图标等
  15. 15. 自定义Jump List Step 2: 添加任务 IObjectCollection* poc = ...; IShellLink* task = ...; poc.AddObject(task); ICustomDestinationList* pcdl = ...; pcdl.BeginList(...); IObjectArray* poa = ... poc; pcdl.AddUserTasks(poa); pcdl.CommitList(); JumpListManager jlm = ...; jlm.AddTask(new ShellLink { Path=..., ... });
  16. 16. 自定义Jump List Step 3: 添加类别 • 文档需要分类嘛? – 常用文档不够用? – E.g. Inbox, Outbox, Sales, Marketing … • IShellItem or IShellLink objects
  17. 17. 自定义Jump List Step 3: 添加类别 IObjectCollection* poc = ...; IShellItem* item = ...; poc.AddObject(item); ICustomDestinationList* pcdl = ...; pcdl.BeginList(...); IObjectArray* poa = ... poc; pcdl.AppendCategory(Lquot;Salesquot;, poa); pcdl.CommitList(); JumpListManager jlm = ...; jlm.AddCustomDestination( new ShellItem { Path=..., Category=... });
  18. 18. Windows 7 Taskbar – Thumbnails
  19. 19. Windows 7 Taskbar – Custom Switchers
  20. 20. Windows 7 Taskbar – Icons
  21. 21. Windows Ribbon Application Menu Help Contextual Tab Set Tab Quick Access Toolbar Contextual Tab Dialog Launcher Group (aka “Chunk”) • Windows 7内置,Vista可以安装 • 使用Win32 API • 与Office 2007/WPF Ribbon类似
  22. 22. Windows Ribbon的路线图 Target: Target: Target: Managed MFC native Native needs .NET 3.5 Win2K or newer Vista or newer Office 2007 & Windows Office 2007 & Windows styles1 Windows styles visual style Coming soon… Available now in Coming soon… Official release Visual Studio Ships with in 2009 2008 SP1 Windows 7 WPF MFC Scenic Microsoft’s Ribbon Strategy
  23. 23. Windows Ribbon的控件
  24. 24. Federated Search Document Repository Enterprise Data Store Enterprise Application
  25. 25. How Federated Search Works 3. RSS results returned from server
  26. 26. Federated Search
  27. 27. 回家作业
  28. 28. IE8新特性
  29. 29. 兼容W3C标准 改进对RSS,CSS,AJAX的支持 优化JavaScript性能。 新增加速器,网页快讯以及可视化搜索 隐私浏览和SmarScreen反仿冒过滤
  30. 30. IE8 : Accelerators
  31. 31. 今天的用户上网习惯 切换到 选中内 登陆(如 复制文 执行操 指定网 复制 容 果需要) 本 作 页 返回之前 浏览的页 面
  32. 32. Accelerators的流程 执行 转到服务页 Accelerator 面 s 安装加速器 选择加速器 Accelerator 选中内容 Accelerator s s 在加速器中 视图中的结 预览 果
  33. 33. Accelerators的流程 执行 转到服务页 Accelerator 面 s 安装加速器 选择加速器 Accelerator 选中内容 Accelerator s s 在加速器中 视图中的结 预览 果 Navigate Serialize OpenService XML HTML URL Content Description
  34. 34. Accelerators的格式
  35. 35. Accelerators的格式
  36. 36. Accelerators的格式
  37. 37. Accelerators的格式
  38. 38. OpenService 的格式
  39. 39. Accelerators的部署
  40. 40. 回家作业
  41. 41. IE8 : Web Slice
  42. 42. 最简单的例子
  43. 43. Favorites Bar Top-Level Notification Contains Favorite links, feeds, &WebSlices Bold on updated content Organize content through folders Italic for expiring content Grey on expired content & errors Details Flyout HTML extracted from webpage (static content) Imported basic HTML styling Click-thru access to website
  44. 44. RSS Feed和WebSlices
  45. 45. WebSlices的工作流程 Download Engine Download HTML Download Feed with WebSlice (XML) Convert to Atom ` Feed (XML) Feed Parser compare downloaded data with stored data Mark Feed as Updated
  46. 46. 如何实现WebSlices
  47. 47. Feed WebSlice
  48. 48. WebSlice Feed
  49. 49. Feed WebSlice
  50. 50. Feed
  51. 51. WebSlice
  52. 52. 回家作业
  53. 53. WPF & Silverlight
  54. 54. Silverlight 概览
  55. 55. Silverlight 2的运行时功能 .NET Support* C# and VB.NET* LINQ* XML APIs* Generics* HTML Integration* JSON Serializer Local storage* Crypto APIs (AES)* Threading* * New in Silverlight 2
  56. 56. 设计者和开发者的体验 设计师 开发者 设计师和开发者: 设计师和开发者: 用相同的语言 用不同的语言 设计师设计如下 开发者完成业务逻辑
  57. 57. Expression Studio
  58. 58. Expression Design
  59. 59. Expression Blend
  60. 60. Expression Encoder Media vs. Media Encoder Light video editing Video export Video overlays
  61. 61. Silverlight典型应用模式
  62. 62. Silverlight播放高清视频 http://www.smoothhd.com/
  63. 63. Silverlight广告 路虎广告
  64. 64. Deepzoom和Hard Rock Memorabilia http://memorabilia.hardrock.com/
  65. 65. 淘宝网闪光店铺 http://list.mall.taobao.com/promotion/activity /silverlight.htm
  66. 66. Silverlight小结 更好的用户体验 更多的商业机会 更丰富的技术 .NET 高清视频 DRM 内置控件 Framework子 集 全面网络支 Deep Zoom 增强服务器扩展能力 样式模板 持
  67. 67. 资源链接
  68. 68. 答疑解惑
  69. 69. 感谢您参与此会场! 您的意见与建议对我们非常重要。 请您填写反馈表。
  70. 70. © 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.

×