Producers englobe a set of concepts which can be global to all of them or local to a specific producer.
Global concepts are concepts that are independent from the targeted platform and shared by all producers. Among those concepts, global ones are for instance the capability to enable or disable each producer, name them, or the fact that all of them have their own namespace.
Another important global concept is that producers, as the name suggests, produce code. Source code are text files, and depending on the producer, the production behavior of those text files can differ from one another. However this behavior can be configured through the productionFlags attribute of each producer node.
On the contrary, local concepts are concepts that are often specific to a targeted platform, hence specific to a producer. In those cases the producer will provide extra XML attributes that the developer can use to customize the output for the targeted platform. Those attributes are available in the namespace of the producer.
![]() |
Note: For an exhaustive list of all XML attributes available for each producer, please refer to the CodeFluent Schema Reference |
Furthermore, in a project's lifetime, one may not want to generate all the layers all the time. Therefore CodeFluent offers a simple way to control layers' generation by turning on or off the activation of a producer through their enable attribute which is common to all producers. The sub-section named Controlling Code Production provides information on how to control production aspects.
Last but not least, CodeFluent is shipped with the CodeFluent Meta Compiler which is a command line tool. The last subsection explains how to integrate the CodeFluent Builder into development environments if ever one wishes a more integrated way of working. More detailed information on production integration is provided in the Industrializing the Production Process section.
In This Section
Information on producers specific namespaces.
Changing the Production Behavior
Explains more precisely how to define the production behavior of a producer.
Information on how to control the production.
Industrializing the Production Process
Information on how to integrate the CodeFluent Builder tool in other development tools such as Microsoft Visual Studio or MSBuild.
