Production Extensions Overview

Production Extensions are custom, user-created process nodes that allow the reuse of frequently used script logic in a standardized and packaged manner. Extensions define a reusable piece of code that can be seen as a black box. These extensions are installed on the DiveLine server, which allows for simplified maintenance and bug fixing, regardless of how many scripts call the extension.

When created, Production Extensions are given the pre file extension. These pre files are really "Extension Package" files—they include everything that is needed to install an extension on the server, but are not actually the extensions themselves. After installation, theses extensions appear as Production nodes, so nothing refers directly to the pre file.

Extension Packages include the executable script, the specification XML file, and optionally other files, such as readme files, help scripts, or an icon that displays in the GUI.

Two questions to ask before you choose to create a Production Extension:

  • Is the script complex enough to warrant an extension?
  • Will the logic get frequent reuse?

Production Extensions should be kept as generic as possible to allow for more extensive reuse—use parameters to increase flexibility. A best practice is to use parameter names using only a-z and 0-9, with no spaces.

Production Extensions can use the following script types:

  • Production
  • Visual Integrator
  • DIAL
  • PHP
  • Java

See also: