Skip to content

Generation

Template-based generation of artifacts helps for developer productivity in the initial phase of building the application. There are several application components that have similar behavior and often very similar implementation.

A prominent example is entity service. It has several predefined methods based on REST concepts and HTTP - GET, POST, PUT, DELETE on an entity level as well as a list of all entities. Additionally, the most notable storage for the entity data is the RDBMS provided by the platform.

Another example are user interface templates based on patterns - list, master-detail, input form, etc. Templates can also be provided based on different frameworks for client-side interaction.

Note

The generation here is a one-time process. Once you have the generated artifact, you can modify it based on your own requirements._

In contrast to the approach above, in case of MDA, you can expect to regenerate the PSMs every time you make changes on PIMs. For this approach, we introduced the entity data modeler where you can define declaratively all the needed components and their attributes. Afterwards, you can use them to generate a complete full-stack data-driven application.

Note

The enhancements in this case must go via extensions only.