Research on the Method of Interface Automatic Generation Based on MDA
|School||Harbin Engineering University|
|Course||Computer Software and Theory|
|Keywords||MDA J2EE Interface Automatic Generation XML|
With the increasing of the software development scale, the designing and realizing of UI in the system became the key point which influents the efficiency of the whole system. For users, UI is a platform which displays the function of the system, also it’s the best interpretation of the system. Now, at the development of UI, there are many insufficiencies in the aspects of efficiency and quality, In this paper, the author putted forward the interface automatic generation approach based on MDA. and by this method the difficulties in the interface generation had been solved effectively.MDA is an approach of software development which is based on model drive., in order to improve efficiency it depends on model as the primary basis, by putting this idea into the process of the interface development and associating with the interface automatic generation technology, it will open a new space in the field of interface development.First, this paper introduced the interface generation tools and its advantage and disadvantage. And then, it introduced the key technology in model-based interface automatic generation:MDA、the technology of interface automatic generation and XML.MDA and model transformation is the guiding idea of this paper, so the thesis talks more about it. Interface automatic generation technology is only a framework, the thesis introduce its overview; XML has good interaction; this paper describe the UI with it, and thus generate the UI. Therefore, the thesis expounded it briefly. This paper also introduced the system architecture of model driving interface development, including the interface warehouse etc. They are all the important constants of the interface automatic generation.The innovation of this article lied in it divides interface into two aspects based on the state model:the "visual" and the "available", and then modeling them. The visual also called the display model which is composed of the performance model and the distribution model. The task model and the data model composed the "available". This thesis makes a detail explanation for these models’building and the conversion between them. After that, the author discussed the conversion between this model and the J2EE platform PSM and the.net platform PSM, finally the thesis summarized the conversion pattern.In the part of the implementation, this paper applied this method of interface automatic generation based on MDA in Magic Platform. According to the magic platform’s character of producing e-government and e-commerce software, this paper established the PIM meta-model and through the visual custom interface from PSM model, it was also the general outline of the user interface. The thesis also used the XML document to describe this interface, it has good interaction and the models of UIs could be stored in the form of file. And then, those files could be used as input, and taking advantage of interface automatic generating technology. Finally, it achieved quantity producing of UI in software platform. Compared with the traditional production of the UI, this paper had great improvement both in quality and the quantity. The design and production of UI affects the quality of the system directly, it could be an effective way to improve software production. It’s a project which is worthy to launch deep discussion to broad researchers.