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 318 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"

The
application size was usually just one diagram, or possibly many small ones for a
multiview application. Applications were usually less than 300 lines of Python code.
The application modeled in Fig. 8.6 is 145 lines. Reuse is not considered in the
language other than allowing sharing the same function library. At the model level, the
FIGURE 8.7 Sample application design
MODELING PHONE APPLICATIONS 175
modeling tool used does however allowone to copy or share the same design elements
between different applications, though. Typically, one developer makes the whole
application and there is no need to support multiple views of the design or support
multiple simultaneous modelers.
8.5 GENERATOR FOR PYTHON
After some example designs, code generation was targeted. The prototype DSM
language, built as a proof-of-concept, applied a simple tree structure where the
generator navigated fromthe ?¬?rst dialog to the last one and produced code for themthat
called the Python framework. Although this approach allowed generating applications
similar to the example applications provided with the Python framework, it was very
limited. It expected designs and application navigation structure to form a tree and did
not allow for variable handling or differentiate local and global variables. As the
manually programmed sample applications provided with the Python for S60 package
used function de?¬?nitions, calling themvia a dispatcher, the customer thought this would
be powerful enough for code produced by a code generator too.


Pages:
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6