高级检索
贾伟, 华庆一, 张敏军, 陈锐, 姬翔. 基于范畴论的用户界面模式语言[J]. 计算机辅助设计与图形学学报, 2017, 29(1): 79-89.
引用本文: 贾伟, 华庆一, 张敏军, 陈锐, 姬翔. 基于范畴论的用户界面模式语言[J]. 计算机辅助设计与图形学学报, 2017, 29(1): 79-89.
Jia Wei, Hua Qingyi, Zhang Minjun, Chen Rui, Ji Xiang. User Interface Pattern Language Based on Category Theory[J]. Journal of Computer-Aided Design & Computer Graphics, 2017, 29(1): 79-89.
Citation: Jia Wei, Hua Qingyi, Zhang Minjun, Chen Rui, Ji Xiang. User Interface Pattern Language Based on Category Theory[J]. Journal of Computer-Aided Design & Computer Graphics, 2017, 29(1): 79-89.

基于范畴论的用户界面模式语言

User Interface Pattern Language Based on Category Theory

  • 摘要: 针对现有用户界面模式语言无法在高级抽象层次上准确描述用户界面模式之间关系,导致不能为基于模式的用户界面开发提供有效的结构化支持的问题,根据用户界面模式集合所具有的层次结构特点,提出一种基于范畴论的用户界面模式语言.首先利用对象和态射定义用户界面模式以及用户界面模式之间的关系,得到用户界面模式范畴;然后使用子范畴和函子定义用户界面模式集合的层次以及层次之间的关系;最后使用自然变换定义用户界面模式集合层次关系之间的关系,对用户界面模式集合中的关系进行更高抽象层次的描述.实例结果表明,文中提出的用户界面模式语言能够与开发过程紧密结合,为开发人员理解、查找和重用用户界面模式提供了有效的支持.

     

    Abstract: In order to address the problem that existing user interface(UI) pattern languages are unable to provide effective structuralized support for the pattern-based UI development caused by the lack of accurate descriptions of relationships between UI patterns on a high level of abstraction, a UI pattern language is presented based on category theory in line with the hierarchical structural features of UI pattern collections. Firstly, UI patterns and their relationships were defined by objects and morphisms to obtain a UI pattern category; then hierarchies of UI pattern collections and their relationships were defined by subcategories and functors; and finally, relationships between the hierarchical relationships of UI pattern collections were defined by natural transformations to describe the relationships of UI pattern collections on a higher level of abstraction. Experimental results show that the proposed UI pattern language can be closely integrated into the development process to effectively support the developers for their understanding, querying and reusing of the UI patterns.

     

/

返回文章
返回