The
DSM solution was made to work with a Python framework, but to demonstrate that
models in DSM can be independent of the generation target, we show how native
Symbian applications in C++ were later generated too. The modeling language and
thus the application design models are the same, only the generator and platform code
are different. You may consider the Python framework as a subdomain of Symbian
applications (Babin, 2005) as it can be used to make typical administrative applications
but not, for example, graphical games or device drivers.
8.1 INTRODUCTION AND OBJECTIVES
Before discussing DSM we will brie?¬‚y describe the Python framework, Python for
S60 (Nokia, 2004). This framework provides a set of Application Programming
Interfaces (APIs) to access the platform services and expects a speci?¬?c programming
model for the user interface (UI). At this point, we need to emphasize that in the world
of mobile application development, UI is understood to cover logic and the whole
application functionality, not just the look and feel. The modeling language described
Domain-Speci?¬?c Modeling: Enabling Full Code Generation, Steven Kelly and Juha-Pekka Tolvanen
Copyright # 2008 John Wiley & Sons, Inc.
160
here uses the widgets and services of the phone as its constructs, and follows the
phone??™s UI programming model.
Pages:
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304