GenWise Template Framework (GTF)

Topic updated 4-10-2007

The GTF (GenWise Template Framework) is a collection of classes and helpers to be able to programmatically create output code.

 

Features of the GTF:

It uses the GenWise Framework Entities as input.
It defined different Template Types , where each one defines a different pattern/usage.
Templates use CodeBlocks to define basic Source Hierarchical structure.
(Optionally) Templates can use helper classes like the Class Builder which allow a very simple and OOP  way to construct programatically a class without needing to implement the generation code for it.

 

 

Benefits of the GTF

GTF code is pure and open c# code.
Even the Template Language code get's converted to GTF before build, therefore this gives several advantages.
The Template(s) are compiled code are not dynamically parser/interpreted, etc.
Use power of .NET Languages to build Templates : No need to learn a 2nd language + Full power of .net framework
Full Meta-Data exposed as simple objects.
Templates can be Debugged. This is beacu
Template UI : You can choose from an automatic UI based on your XML Template option definition, or you can construct your own UserControl by overriding GetDesigner().

 

You can use any .NET control at design time
Templates Support inheritance ( XML Template options also support inheritance)
Template Source Code Available (meaning you can still look inside the Template Source Code )