Code generation by sample
This page demonstrates the design of a prototype application based on the sample 'CDKatalog' you will find as Youtube video.The design of the UML model is very simple to ease starting with UML modeling and generating a prototype and then creating code for your desired framework and language.
Here you see the UML model with the attributes per class in the left tree view:
I will not show the prototype in action but rather a code generator for a mixture of code (wxWidgets and my database API). Typical code generator template will look like as follows:
Now you will see the template code and the generated code (snipped):


