Wazaabi is a proposed open source project under the EMFT project.
This proposal is in the Project Pre-Proposal Phase (as defined in the Eclipse Development Process document) and is written to declare its intent and scope. This proposal is written to solicit additional participation and input from the Eclipse community. You are invited to comment and/or join the project. Please send all feedback to the emft newsgroup.
Wazaabi was initially part of PMF. PMF project has not been very active since its creation:
- No release
- Project web page quite empty with broken links
- Limited communication
This inactivity could be in part explained by the limited availability of its project leader and this inertness prevented the planned work on Wazaabi technology. To enable wazaabi to grow, we propose to create a project dedicated to it.
Writing Graphical User Interfaces (GUI) is time and effort consuming, and when they have to evolve, doing changes could become quickly a nightmare. Hand-writing code for GUI is complex as the code is spread over several source files and their relationship is not always obvious. By using a visual designer, the programmer avoids writing boilerplate code, but semantic information remains stored at the source code level. A model-based approach help to raise the level of abstraction. To avoid generation and deployment additionally steps, models are interpreted, enabling designers to modify quickly user interfaces.
Objectives of Wazaabi are the following:
- Provide an easy to use framework to build UIs by defining a set of UI models
- Provide an easy way to bind UI models to real life domain models by supporting data binding
- Provide rendering engines interpreting UI models and syncing with real UI on several platforms, including SWT, Swing, Ajax platforms (RAP, GWT, Vaadin…)
- Provide a set of tools for designing, comparing, merging, testing and documenting UI models
In this section we describe the main components of the Wazaabi project in details.
In the domain of user interfaces, the designer has to perform recurrent actions, like structural changes, comparison or merge of screens, documentation etc. Dealing with lines of source code instead of UI artifact implies significant overhead and leads to increase development and maintenance costs. In other words, model-based approach avoids dilution of semantic concepts in source code. Wazaabi provides not only a set of models for describing UI parts, but also methods to model the most common pattern the designer faces.
Once the description of the UI is completed, graphical components must be linked or bound to underlying business objects. Wazaabi proposes an additional model for supporting bindings between business-tier models and UI models. The binding model can be represented as a process in order to transform business-tier data.
The engines and the live models
Wazaabi does not follow the traditional MDA approach consisting in model to code generation cycles. There is no code generation, instead it is based on model interpretation aka live models. Changes in the model do not require explicit regeneration, rebuild, retest, and redeploy steps. This will lead to a significant shortening of the turnaround time. The model is available at runtime it is even possible to change the model without stopping the running application.
Live models reduce the distance between design and running times. The Engines are the Wazaabi components able to render a UI model for particular target UI technology. It is important to note that the engines track and reflect not even changes from the model to the UI but also from UI to model due for instance to user input.
SWT is the widget toolkit on which Eclipse IDE is built, but it is not the only one available for building UIs. Wazaabi will provide rendering engines for SWT, Swing, Ajax, GWT, etc...
Wazaabi will provide a range of tools to assist designers during all the process of building and maintaining UIs. Visual design, facilitator for a good code-model interaction, version management, documentation, test building, etc...
Version control system and source code location
The code of Wazaabi is currently hosted on cvs in PMF projet:
Wazaabi will use git, and the code will be hosted at the following location:
Wazaabi will try to release frequently following the EGit example. The participation to the release train is not planned until the graduation of the project.
Relationship with other Eclipse Projects
- Wazaabi will be a sub-project of PMF
- Wazaabi uses EMF on the domain side.
- Wazaabi is built on top of Equinox for the osgi version
- The SWT Engine is built on top of SWT & Jface
- Architect, the graphical Wazaabi modeler is built on top of GEF
- The E4 Toolkit Model was developed in parallel with Wazaabi, to get essentially the same ideas into e4. It could make sense to try to merge them.
Sapphire and Wazaabi have several differences even if they try to ease the creation of user interfaces:
- Sapphire is not based on eclipse modeling stack
- Sapphire does not use live (EMF) models for the user interface
The following individuals are proposed as initial committers to the project:
- Olivier Moïses, Generic Concept, lead
- Hallvard Trætteberg, Norwegian University of Science and Technology
- Grégoire de Hemptinne, Euranova
- Nam-Luc Tran, Euranova
The following Architecture Council members will mentor this project:
- Ed Merks
- Cedric Brun, Obeo
The following individuals, organizations, companies and projects have expressed interest in this project: