This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata

This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.

DRAFT

Reference Documentation

Kasper has completed a quite comprehensive doc for model transformation at http://wiki.gpii.net/index.php/Architecture_-_Available_transformation_functions

This page is to list the parts that were missed in there.

Functions

fluid.transformOne(rules)  Utility function to produce a standard options transformation record for a single set of rules

fluid.transformMany(rules)  Utility function to produce a standard options transformation record for multiple rules to be applied in sequence

fluid.model.transformWithRules(source, rules, options)

Transforms

fluid.transforms.value (used in examples but no a specific section for it)

fluid.transforms.literalValue

fluid.transforms.arrayValue

fluid.transforms.count

fluid.transforms.round (used in examples but no a specific section for it)

fluid.transforms.delete

fluid.transforms.firstValue

fluid.transforms.linearScale

fluid.transforms.binaryOp

fluid.transforms.condition

fluid.transforms.valueMapper (not documented and used in examples)

fluid.transforms.arrayToSetMembership

fluid.transforms.setMembershipToArray (not documented and used in examples)

fluid.transforms.arrayToObject

fluid.transforms.objectToArray (not documented and used in examples)