Vol: 51(65) No: 4 / December 2006 Mobile Application Development to Multiple Platforms Tamas Vajk Department of Automation and Applied Informatics, Budapest University of Technology and Economics, Goldmann Gyorgy ter 3. IV. Em., 1111 Budapest, Hungary, phone: (361) 463-2870, e-mail: tamas.vajk@aut.bme.hu Hassan Charaf Department of Automation and Applied Informatics, Budapest University of Technology and Economics, Goldmann Gyorgy ter 3. IV. Em., 1111 Budapest, Hungary, e-mail: hassan@aut.bme.hu Keywords: metamodeling, VMTS, Symbian, custom editor, imperative OCL, compiler. Abstract The concept of metamodeling has become wide-spread, as recently the two most important criteria in software engineering are development time and reliability. This technique is based on metamodel-model pairs, in which the metamodel contains every rule that the modeling environment has to follow and it also defines which types of objects can be created during the modeling process. This paper provides a flexible approach to store and instantiate attributes in multilayered metamodeling environments. The introduced method can be easily extended to multiple mobile platforms, therefore, the user interface development is highly automated. However, the event handling functions have to be implemented for all the target platforms. Imperative OCL can efficiently be used in implementation of platform-independent code specification, which allows the creation of a common event handling function and from this, the target platform code fragments can be compiled. This paper also presents an Imperative OCL compiler architecture. The background and the implementation framework for the discussed constructs are the Visual Modeling and Transformation System, which was developed at BUTE. References [1] Meta-Object Facility (MOF) version 1.4, http://www.omg.org. [2] Visual Modeling and Transformation System homepage, http://avalon.aut.bme.hu/~tihamer/research/vmts, April 2006. [3] A. Ledeczi, M. Maroti, A. Bakay, G. Nordstrom, J. Gerrett et al, GME 2000 Users Manual (v2.0), http://www.isis.vanderbilt.edu, December 2001. [4] A. Ledeczi, M. Maroti, A. Bakay, G. Karsai, J. Garrett et al, The Generic Modeling Environment, Workshop on Intelligent Signal Processing, May 2001. [5] T. Levendovszky, L. Lengyel, G. Mezei, H. Charaf, A Systematic Approach to Metamodeling Environmnts and Model Transformation Systems in VMTS, International Workshop on Graph-Based Tools (GraBaTs), Rome, 2004. [6] G. Mezei, T. Levendovszky, L. Lengyel, H. Charaf, A Flexible Attribute Instantiation Technique for Visual Languages, IASTED, Austria, February 2005. [7] Object Management Group: MOF QVT Specification, http://www.omg.org/docs/ptc/05-11-01.pdf. [8] Object Management Group: Object Constraint Language Specification http://www.omg.org/docs/ptc/03-10-14.pdf. [9] VMTS Homepage, http://www.vmts.aut.bme.hu. [10] Microsoft Developer Network, http://msdn2.microsoft.com. [11] Bison, http://www.gnu.org/software/bison/manual/. |