| With the development of Internet,people’s demand for software is increasing.Rich Internet Application(RIA)emerges as the times require in order to meet the current demand for software products.As a new type of WEB application,RIA not only provides more efficient components,but also promotes the integration of traditional applications and client applications,and provides an easy-going interactive interface similar to desktop programs.However,the current RIA has the following problems in design and implementation:RIA design and implementation requires time cost;There are many ways to develop RIA,and there are specific development tools and development languages for each rich Internet application development,Model-driven development requires higher-level abstract models.Currently,abstract models have not met the requirements,and large-scale RIA front-end modeling design cannot be completed by Interaction Flow Modeling Language(IFML)alone,which results in repeated development,high development cost,long project Period and great development difficulty.In order to solve these problems,this dissertation first analyzes the problems existing in the current rich Internet application user interface development technology,and studies the related theory of the front-end modeling visualization standard interactive flow modeling language adopted by Object Management Group(OMG).And the user interface(UI)ontology related theory,and then adopt a model-driven engineering method,using UI ontology and IFML to jointly build a platform for the rich Internet application user interface platform independent model(PIM)Module,select Flex as the target to implement the Platform Specific Model(PSM),use Query/View/Transformation(QVT)as the rule description,use the acceleo tool as the code generation tool,the method abstracts High levels save development time and shorten development cycles.The specific work is as follows:(1)In this dissertation,the logical model and interaction model of RIA user interface are constructed by UI ontology and IFML respectively,and the above two models are used together as the PIM metamodel.At the same time,the IFML metamodel is extended to enhance the interactivity of RIA.(2)In order to realize the conversion of PIM to Flex_PSM,the mapping rules from the UI ontology PIM metamodel to the Flex_PSM model and the mapping rules of the IFML PIM metamodel to the Flex_PSM model are defined respectively;(3)Acceleo tool is used to convert the generated Flex_PSM model into relevant codes,thus realizing the automatic generation of codes;(4)The validity and rationality of the model transformation process and mapping rules designed in this dissertation are verified by an example,and the example code is automatically generated. |