Code generation is interesting only if we can configure some details of the generated code our own way. This is possible through SPIDER code templates.
As a standard, the project will have only one template named 'default', with support to several frameworks. But what really matters is that developers will be able to create their own templates.
The templates are simple and objective because they use Velocity technology. Even the ones who have never worked with Velocity can see the template structure and create a new one or make changes.
Basically, two steps should be followed in order to create a template:
- creating template files using Velocity;
- mapping which files will be generated in which step and for which technology by using XML files.
Topics:

