Model-Driven Development Based on OMG's IFML with WebRatio Web and Mobile Platform

Marco Brambilla, Roberto Acerbis, Aldo Bongio, Marco Brambilla 0001, Stefano Butti

Abstract

This paper explores the application of the Interaction Flow Modeling Language (IFML) within the WebRatio Platform to streamline the development of web and mobile applications. By employing a model-driven development (MDD) approach, the platform addresses common software engineering bottlenecks such as developer shortages and platform portability. We describe the core IFML notations, the multi-perspective modeling process, and the automated generation of cross-platform code, highlighting how this methodology ensures a strict separation of concerns and produces maintainable, human-readable output.

Introduction

The modern software landscape is characterized by a high demand for rapid application delivery across diverse platforms, yet it faces a chronic shortage of developers skilled in specific web and mobile stacks. Traditional development often suffers from low code reuse and the complex intertwining of user interface logic with business processes. To mitigate these issues, the WebRatio Platform leverages the OMG standard IFML to provide a visual, high-level modeling environment that automates the transition from design to deployment.

The IFML Framework

Interaction Flow Modeling Language (IFML) serves as the foundational standard for the WebRatio Platform. It allows for the platform-independent description of user interactions and front-end behavior. The language utilizes a set of standardized visual primitives to represent the structure and dynamics of the user interface.

Core IFML concepts, meanings, and visual notations.

As detailed in the table above, IFML categorizes interface elements into view containers and components, while defining the logic of the application through events, actions, and flows. This standardization ensures that models are based on industry-recognized semantics rather than proprietary logic, facilitating better communication and long-term maintenance.

Modeling and Implementation

The WebRatio Platform implements a multi-perspective modeling approach that covers the view structure, event-driven transitions, and the underlying data flow. This process is designed to be intuitive yet powerful enough to generate production-ready code for both Java EE web environments and mobile platforms using Apache Cordova.

An example IFML model illustrating navigation and parameter binding between a product list and product details.

The figure above demonstrates a practical application of these concepts. A user interaction on a ProductList component triggers an event that leads to a ProductDetails view. Crucially, the model includes a ParameterBindingGroup, which explicitly defines how the SelectedProduct data is passed between these components. This visual representation of data dependencies prevents the creation of "spaghetti code" and ensures a clear flow of information.

Key Insights and Results

The primary advantage of this MDD approach is the strict separation of concerns. IFML models focus purely on the interaction flow, keeping the UI logic independent of specific business logic or platform-specific widgets. This independence allows the same model to be deployed across desktop browsers and mobile devices with minimal adjustment.

Furthermore, the WebRatio Platform emphasizes the generation of human-readable, maintainable code. Unlike many low-code solutions that act as "black boxes," the generated Java EE and JavaScript/Angular code can be managed and extended by developers outside the platform if necessary. The platform also provides robust solutions for traditionally complex mobile features, such as offline data synchronization and RESTful API integration.

Conclusion and Future Work

By adopting IFML and an MDD philosophy, the WebRatio Platform significantly reduces the manual effort required to build and deploy cross-platform applications. While the current framework provides a powerful toolset for most enterprise needs, future developments will focus on enhancing UI sophistication for high-end design requirements and conducting large-scale empirical studies to quantify the productivity gains compared to traditional manual coding. As web standards continue to evolve, the platform's generation engines will also be updated to support the latest front-end frameworks.

Summary updated

BibTeX
@inproceedings{brambilla2015model,
  author = {Marco Brambilla and Roberto Acerbis and Aldo Bongio and Marco Brambilla and Stefano Butti},
  title = {{Model-Driven Development Based on OMG's IFML with WebRatio Web and Mobile Platform}},
  booktitle = {Icwe},
  year = {2015},
  doi = {10.1007/978-3-319-19890-3\_39},
}
Figure