SCT (Specification-Configuration-Templates) model defines application building using automated process of generation. There three basic model elements:
S (Specification) is hierarchically organized set of attributes and their values. Attribute values define features that make specific difference among different generated applications.
Specification can be represented graphically by Specification diagram.
C (Configuration) defines connections between Specification and Templates. There are three elements that have to be defined for each connection:
- Connection name
- Connection source
- Code template
Similar to Specification, Configuration is organized hierarchically, which can be represented graphically, by a Configuration Diagram.
T (Templates) is set of code fragments that contain connections.
SCT frame is a structure (e.g. XML structure) consisting from all three basic model elements.
Generator is an engine that produces application (one or more files) by connecting Specification and Templates using rules defined in Configuration.