The level of abstraction in model and code
is the same, and since the generated code is partial, you need to ?¬?ll in the rest manually.
Even protected areas for your manually edited code don??™t work: models can change so
they invalidate manually written parts, and references in manually written code don??™t
update if you regenerate from a changed model.
4.1.2 Evolution Within the Architecture
The DSM architecture also allows evolution. Any of the elements can be changed if
needed. This ?¬‚exibility makes the DSM approach different from CASE and 4GLs,
which ?¬?x at least one of the architectural elements. One notable way is changing
the generator to a different target while keeping the modeling language the same.
The cases discussed in Part III demonstrate such situations: insurance products in
Chapter 6 were planned to be generated in different target languages while keeping the
target environment and the functionalities it provides for application execution the
same. In Chapter 9, the execution target for wrist watches is extended without
modifying the models. Changes to the generator are kept minimal by making most
changes directly to the domain framework. In the mobile phone case of Chapter 8, an
alternative target platform was available to enable more functionality and wider
access to phone services.
Pages:
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145