If we have a one-to-many alignment between class
c
1
and classes c
2,1
...c
2,n
, and none of c
2,1
...c
2,n
is aligned with any other class, n unified classes
U(c
1
, c
2,1
) ...U(c
1
, c
2,n
) will be added to the unify
model meta-model MM
∗
The class U(c
1
, c
2,i
) can be
referred to using the name of c
1
or c
2,i
or a new unique
name. All these names are considered aliases. The
mappings are updated as follows:
• U(c
1
, c
2,1
) 7→ c
1
, ... , U(c
1
, c
2,n
) 7→ c
1
are added
to Φ[MM
∗
, MM
a
]
• U(c
1
, c
2,1
) 7→ c
2,1
, ... , U(c
1
, c
2,n
) 7→ c
2,n
are
added to Φ[MM
∗
, MM
b
]
The mappings Φ[MM
∗
, MM
a
] and Φ[MM
∗
, MM
b
]
produced during the unification process can be used
to derive transformation rules from the MM
∗
to MM
a
and MM
b
.
A similar approach is used to unify the aligned at-
tributes and methods for each pair of aligned classes,
which will produce the attribute and method level
model mappings.
7 CONCLUSION
Domain-specific modeling languages make the de-
velopment of applications for a particular domain
much simpler than hand-written approaches. How-
ever, DSMLs are often “frozen” as static mappings
from DSML elements to native language elements.
An adaptive domain-specific modeling language
uses information about the target platforms and APIs
to evolve its syntax and capabilities. Our approach
extracts a meta-model for each target platform. These
platform-specific meta-models undergo a process of
elevation, where an appropriate subset of the ex-
tracted meta-model is selected for further analysis.
Similarity analysis aligns the meta-models by map-
ping one platform to the other. Finally, these map-
pings are unified into a platform-independent meta-
model on which the DSML can be based.
Our approach enables access to the full capabil-
ities of the native platforms and is thus capable of
generating high performance native applications. It is
also adaptable to rapid evolutions of the target plat-
forms. This adaptability depends on effective on-
tology and tag management since it is based on the
derivation of semantically useful information from
the documentation of the nativeplatform and its APIs.
We are currently developing an adaptive version
of the AXIOM DSML to demonstrate the feasibility
and effectiveness of the techniques proposed in this
paper.
REFERENCES
Apache Cordova (2015). https://cordova.apache.org/.
Appcelerator (2015). http://www.appcelerator.com/.
Canappi (2011). http://www.canappi.com/.
Charland, A. and Leroux, B. (2011). Mobile application
development: Web vs. native. Communications of the
ACM, 54(5):49–53.
Corral, L., Sillitti, A., and Succi, G. (2012). Mobile mul-
tiplatform development: An experiment for perfor-
mance analysis. Procedia Computer Science, 10:736
– 743. MobiWIS 2012.
Granitzer, M., Sabol, V., Onn, K. W., Lukose, D., and
Tochtermann, K. (2010). Ontology alignment - A sur-
vey with focus on visually supported semi-automatic
techniques. Future Internet, 2(3):238–258.
Hammel, Z., Visser, E., et al. (2010). mobl: the new lan-
guage of the mobile web. http://www.mobl-lang.org/.
Heitk¨otter, H., Majchrzak, T. A., and Kuchen, H. (2013).
Cross-platform model-driven development of mobile
applications with md2. In Proceedings of the 28th An-
nual ACM Symposium on Applied Computing, SAC
’13, pages 526–533, New York, NY, USA. ACM.
Jia, X. and Jones, C. (2011). Dynamic languages as model-
ing notations in model driven engineering. In ICSOFT
2011, pages 220–225, Seville, Spain.
Jia, X. and Jones, C. (2012). AXIOM: A model-driven ap-
proach to cross-platform application development. In
ICSOFT 2012, pages 24–33, Rome, Italy.
Jia, X. and Jones, C. (2013). Cross-platform application
development using AXIOM as an agile model-driven
approach. In Communications in Computer and Infor-
mation Science, volume 411, pages 36–51. Springer
Berlin Heidelberg.
Jones, C. and Jia, X. (2014). The AXIOM model frame-
work: Transforming requirements to native code for
cross-platform mobile applications. In ENASE 2014,
pages 26–37, Lisbon, Portugal.
Jones, C. and Jia, X. (2015). Using a domain specific lan-
guage for lightweight model-driven development. In
Communications in Computer and Information Sci-
ence. Springer Berlin Heidelberg.
Noyrit, F., G´erard, S., and Terrier, F. (2013). Computer
assisted integration of domain-specific modeling lan-
guages using text analysis techniques. In MODELS
2013, Miami, FL, USA, September 29 - October 4,
2013. Proceedings, pages 505–521.
Shvaiko, P. and Euzenat, J. (2013). Ontology matching:
State of the art and future challenges. IEEE Trans.
Knowl. Data Eng., 25(1):158–176.
Vaupel, S., Taentzer, G., Harries, J. P., Stroh, R., Gerlach,
R., and Guckert, M. (2014). Model-driven develop-
ment of mobile applications allowing role-driven vari-
ants. In MODELS 2014, Valencia, Spain, September
28 - October 3, 2014. Proceedings, pages 1–17.
ICSOFT-EA2015-10thInternationalConferenceonSoftwareEngineeringandApplications
418