A Rich Internet Applications (RIAs) combine the simplicity of the hypertext paradigm with the flexibility of desktop interfaces. These applications were proposed as a solution to follow the rapid growth and evolution of the Graphical User Interfaces. However, RIAs are complex applications and their development requires designing and implementation which are timeconsuming and the available tools are specialized in manual design. In this paper, we present a model driven approach to generate GUI for Rich Internet Application. The approach exploits the new language IFML recently adopted by the Object Management Group. We used frameworks and technologies known to Model-Driven Engineering, such as Eclipse Modeling Framework (EMF) for Meta-modeling, Query View Transformation (QVT) for model transformations and Acceleo for code generation. The approach allows to quickly and efficiently generating a RIA focusing on the graphical aspect of the application.
Keyword:Code
INTRODUCTIONIn recent years we have noticed a rapid growth of Web applications with sophisticated behavior of the user interface. These applications, called Rich Internet Applications (RIAs), brought the richness of desktop application interfaces to the world of Web browsing. Many frameworks and technologies have emerged to facilitate the construction of this web software, such as Ajax or JavaFX. However, RIAs remain complex applications and their development requires designing and implementation which are timeconsuming. Also, we can say that the available tools are specialized in manual design.In return, the Model Driven Development has shown its contributions and efficiency to the field of engineering and helps improving the quality of applications as well as time savings and increasing the productivity. That is why we can say that modeling approach represents a way to master complexity and ensure consistency of applications.In this paper, we propose a Model-Driven Approach for RIAs development based on the OMG standard language called Interaction Flow Modeling Language (IFML). The proposed method automates the development process and hides complexe technological specifications.Indeed, we propose a model-based approach that takes as input a simplified model, respecting the IFML, which will be transformed into an instance of the proposed meta model for MVP RIAs. This resulting model is the input for the code generator developed to generate the views of RIAs while taking into account the events and user interactions besides their connection with the two layers of the MVP pattern.