options := object PHP::doctrine::Options{
charset := ’utf8’;
collate := ’utf8_general_ci’;
}
}
When running the generator, for each element
with the type Entity in a WASL Generic source model
the mapping creates an element with the type Model
in the WASL Php target model. Additionally the
attributes name, columns, relations and options are
filled with values. In the transformation the Entity’s
name is copied to the Model’s name with the first
character as upper-case, following the conventions of
Doctrine. The ERefernce columns is filled with Col-
umn elements that are generated for all of the En-
tity’s ValueProperties and navigable ReferenceProp-
erties with a cardinality of 1. Additionally for each
ReferenceProperty with a cardinality of 1 a relation is
created that similarly to a foreign key points to the ref-
erenced Model. Additional platform-specific details
such as the default encoding of the database table and
selected charset are set by the transformation defini-
tion by default to UTF8 such that the developer does
not have to add those settings to the target model after
each transformation.
5 CONCLUSIONS
We have presented the WASL MDSD generator that
allows fully automatic generation of web applications
based on typical web platforms such as Java EE, PHP,
and Python. The proposed approach contributes to
the field of model-driven web engineering as it (1)
realizes the MDA vision by platform-specific and
platform-independent modeling, (2) supports multi-
ple web platforms, (3) utilizes established MDA stan-
dards, and (4) represents platform concepts directly
through platform-specific DSLs.
Future work includes efforts for extending the
metamodel of WASL Generic with additional lan-
guage elements for specifying additional presentation
and logic concepts, e.g. for tethering the web ap-
plication to service-oriented architectures by specific
LogicTuples. Also a metamodel for the Google Web
Toolkit (GWT) promises interesting possibilities in
RIA modeling. Furthermore it is intended to decom-
pose the platform-specific WASL languages to sub-
metamodels with each of them representing exactly
one web development framework such as Doctrine.
This would allow composing project-specific model-
ing languages suited to the set of frameworks used in
specific software development projects.
REFERENCES
Ben-Kik, O., Evans, C., and dt Net, I. (2009). YAML Ain’t
Markup Language (YAML) Version 1.2.
Brambilla, M., Ceri, S., Fraternali, P., and Manolescu, I.
(2006). Process modeling in web applications. ACM
Transactions on Software Engineering and Methodol-
ogy, 15(4):360–409.
Ceri, S., Fraternali, P., Bongio, A., Brambilla, M., Comai,
S., and Matera, M. (2002). Designing Data-Intensive
Web Applications. Morgan Kaufmann, San Francisco.
Conallen, J. (1999). Modeling web application archi-
tectures with uml. Communications of the ACM,
42(10):63–70.
Conallen, J. (2002). Building Web Applications With Uml.
Addison-Wesley, Reading, USA, 2 edition.
Fons, J., Pelechano, V., Albert, M., and Pastor, O. (2003).
Development of web applications from web enhanced
conceptual schemas. In Workshop on Conceptual
Modeling and the Web, ER’03, volume 2813 of LNCS,
pages 232–245, Chicago, USA. Springer.
Gerber, A. and Raymond, K. (2003). Mof to emf: There
and back again. In Burke, M. G., editor, OOPSLA
Workshop on Eclipse Technology eXchange (OOP-
SLA2003), pages 60–64, Anaheim, California. ACM-
Press.
Ginige, A. and Murugesan, S. (2001). Web engineering - an
introduction. IEEE MultiMedia, 8(1):14–18.
Koch, N. (2001). Software Engineering for Adaptive Hy-
permedia Systems. PhD thesis, LMU Mnchen.
Koch, N., Knapp, A., Zhang, G., and Baumeister, H. (2008).
Web Engineering: Modelling and Implementing Web
Applications, volume 12, chapter 7, pages 157–191.
Springer, Heidelberg.
Koch, N., Pigerl, M., Zhang, G., and Morozova, T. (2009).
Patterns for the model-based development of rias.
In Proc. 9th Int. Conf. Web Engineering (ICWE’09),
volume 5648, pages 283–291, San Sebastian, Spain.
Springer.
Kraus, A., Knapp, A., and Koch, N. (2007). Model-
driven generation of web applications in uwe. In Proc.
MDWE 2007 - 3rd International Workshop on Model-
Driven Web Engineering, CEUR-WS, volume 261.
Kroiss, C. and Koch, N. (2009). Uwe4jsf: A model-driven
generation approach for web applications. In Proc.
9th Int. Conf. Web Engineering (ICWE’09), volume
5648 of LNCS, pages 493–496, San Sebastian, Spain.
Springer.
Maple, C., Phillips, A., and Morris, B. (2010). Uk secu-
rity breach investigations report - an analysis of data
compromise cases 2010. Technical report, 7Safe.
Miller, J. and Mukerji, J. (2003). Mda guide. Technical
report, Object Management Group.
Moreno, N., Fraternali, P., and Vallecillo, A. (2006). A
uml 2.0 profile for webml modeling. In Workshop on
Model-Driven Web Engineering (MDWE2006), Palo
Alto, USA.
Moreno, N., Fraternali, P., and Vallecillo, A. (2007). Webml
modeling in uml. IET Software, 1(3):67 – 80.
ICSOFT 2011 - 6th International Conference on Software and Data Technologies
170