作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (21): 272-274. doi: 10.3969/j.issn.1000-3428.2010.21.098

• 开发研究与设计技术 • 上一篇    下一篇

用户界面松耦合设计及其实现

齐 鑫1,修丽强2   

  1. (1. 哈尔滨理工大学计算机科学与技术学院,哈尔滨 150080;2. 黑龙江省农村信用社联合社,哈尔滨 150016)
  • 出版日期:2010-11-05 发布日期:2010-11-03
  • 作者简介:齐 鑫(1976-),男,助理研究员、硕士,主研方向: 软件工程,图像处理;修丽强,硕士

Loosely Coupled User Interface Design and Its Implementation

QI Xin1, XIU Li-qiang2   

  1. (1. School of Computer Science and Technology, Harbin University of Science and Technology, Harbin 150080, China; 2. Heilongjiang Rural Credit Union, Harbin 150016, China)
  • Online:2010-11-05 Published:2010-11-03

摘要: 针对如何进行复杂用户界面(UI)程序设计及UI组件难以重用的问题,总结界面设计的解耦原则,提出统一的设计思想及其实现方法。解耦原则符合敏捷软件的开发及可测试要求,通过依赖注入使系统界面组件的耦合性降到最低,组件之间能够灵活组合。医疗影像归档系统界面的设计与实现证明了该设计原则及方法具有较好的灵活性及适用性。

关键词: 用户界面设计, 松耦合, 控制反转, 依赖注入

Abstract: Aiming at the problem that how to program for complex User Interface(UI) and difficulty in reusing UI control, this paper concludes the principles of interface design of the decoupling, which accords with the principles of agile software development and test requirements, and proposes a unified design concept and its implementation method. By summarizing the level request of interface design and analyzing the design pattern for various modules decoupling, it uses dependency injection technology to make the coupling of system interface modules bottom out, enabling the modules combine nimbly. The interface design of PACS proves that the principles and design method are flexibility and adaptability.

Key words: User Interface(UI) design, loosely coupled, Inversion of Control(IoC), dependency injection

中图分类号: