The
actual process of creating the modeling language was, however, made as natural as
possible, following the practices that had become established in real projects. The
arti?¬?cial background of the example is perhaps most clearly seen in its limited scale.
Conversely, this small size is its strength as a pedagogical tool: small enough to be
understood in a relatively short time but large enough to provide realistic insights into
every aspect of DSM.
9.1 INTRODUCTION AND OBJECTIVES
The background for the digital wristwatch language is thus a ?¬?ctitious manufacturer
of digital watches, circa 1985??”we shall call them Secio. Secio has noticed that
producing the software for each watch by hand is becoming a signi?¬?cant bottleneck,
as consumers demand functionality beyond simple setting and display of the time. It
has also been realized that different consumers want different functionality and have
different requirements for ease of use versus extensive functionality, physical
compactness versus amount of information displayed, and so on.
Domain-Speci?¬?c Modeling: Enabling Full Code Generation, Steven Kelly and Juha-Pekka Tolvanen
Copyright # 2008 John Wiley & Sons, Inc.
191
Therefore, Secio has decided to build its range of watches for next year as a product
family. There will be different watches for different consumer types and price points,
but the watches will be able to share common parts of the software.
Pages:
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353