针对Web应用系统中应用环境和用户需求易于变化的问题,将柔性软件思想与Web界面的设计结合起来,提出了一个具有动态重配置能力的基于构件的柔性Web用户界面模型。该模型把描述构件显示样式的模板和适应业务数据结构变化的构件规则分别存储到XML文档和关系数据库中,从而解决了Web用户界面的适应性和重用性问题。最后,通过一个具有表格数据显示功能的柔性Web用户界面来说明模型的有效性和可用性。
In the Web application system,application environment and user's requirements is easy to change.In order to solve the problem,resented a component-based flexible Web user interface(WUI) model based on a method of combining flexible software ideology and Web user interface development,which could dynamic reconfigure the display style and functionality of WUI at runtime.It separated the two different categories of information from traditional component,namely,the template which was responsible for describing the display style and was stored in XML document,and the component-role which adapted to the change of the operation data structure and was stored in relational database,for solving the problem of the flexibility and reusability of WUI.Finally,gave a flexible WUI with the table data display function to illustrate the model's effectiveness and availability.