SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 754 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


15.1 MODEL REUSE
In many ways, the productivity of DSM can be attributed to various kinds of reuse.
Existing expert experience is used in building the modeling language, generators and
domain framework, and all of these are reused automatically each time a developer
makes a model.
Domain-Speci?¬?c Modeling: Enabling Full Code Generation, Steven Kelly and Juha-Pekka Tolvanen
Copyright # 2008 John Wiley & Sons, Inc.
397
DSM is however particularly well suited to further reuse: existing models and
model elements can be applied and referred to when making new models. Such reuse
should generally aim to be by reference, not repetition.
15.1.1 Copy by Value Versus Copy by Reference
Traditionally, there has been a distinction between two methods of copying: copy by
value and copy by reference. Although this will be familiar ground to most readers, let
us lay down some basics ?¬?rst. We will say that there is an existing element, already
used at one place in the system. The element has some content, and we want to use it in
a new place too.We will keep the details deliberately vague: element, content, place,
and system could map to many things, depending on our development process and
artifacts.
In copy by value, the content of the existing element is copied to the newplace. The
content thus exists as two separate copies, and changes to one will not affect the other.


Pages:
742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6