Intercalate
The Object Explosion
The Intercalate Process
Intercalate Benefits
Structured Representation
Powerful Semantics
Synchronization
Maintainability and Reuse
Building a Template
Identify occurrences of the table name
Insert the table name in the model dictionary
Replace the table name with its dictionary key
Identify attributes of the first column
Insert column attributes in the dictionary
Replace column attributes with dictionary keys
Identify attributes of the second column
Make a list of columns in the dictionary
Iterate over the entries in the columns list
Not all columns can use the same template
Test conditions to produce text only when needed
What We’ve Learned
Identify special usage of one or more columns
Indicate special usage in the dictionary
Restrict iteration using the special key
Test a condition having nested keys
What We’ve Learned (2)
A Java example
Build a Java template
Create a lookup table for the Java data type
Override general defaultin special cases
What We’ve Learned (3)
Make a list of tables in the dictionary
Create SQL for tables in the tables list
Create Java for tablesin the tables list
Each Java class goes in its own file
Include other templates
What We’ve Learned (4)
Additional Resources
Email: info@intercalate.com
Home Page: Intercalate.com