Templates and project life-cycle

Topic updated 31-5-2007

One of the unique features of the GenWise Template System is the fact that the templates are always alive during your project life-cycle. The generation process is not a single step as in traditional source code generators, it is present during the whole project life-cycle.

 

This has major advantages:

1.Templates can adapt themselves to new scenarios.

When their input metadata changes, templates will regenerate their code according to the new input.

Several templates have Auto Calculated Template Options, in these cases the advantage is even greater since the templates will also adapt to the default values of the Template Options.

2.Template Option changes can be easier applied since the Template Options are still available at the end of the project.
3.The same applies to global changes through Extension Templates, for example adding the Security Template, or making a project Ajax aware using the Ajax Template.
4.A new version of a template can improve or fix a specific scenario, this change would automatically apply to all template instances in your projects.

 

To make this possible, the GenWise DE needs to keep a Project System. This project system is part of the GenWise Framework which contains all your project metadata.