Sunday 12 June 2011

Naming Conventions and usage of Transformations


Port Standards:
Input Ports – It will be necessary to change the name of input ports for lookups, expression and filters where ports might have the same name.  If ports do have the same name then will be defaulted to having a number after the name.  Change this default to a prefix of “in_”.  This will allow you to keep track of input ports through out your mappings.
Prefixed with: IN_

Variable Ports – Variable ports that are created within an expression
Transformation should be prefixed with a “v_”.  This will allow the developer to distinguish between input/output and variable ports.  For more explanation of Variable Ports see the section “VARIABLES”.
Prefixed with: V_

Output Ports – If organic data is created with a transformation that will be mapped to the target, make sure that it has the same name as the target port that it will be mapped to.
Prefixed with: O_

No comments:

Post a Comment