Script

From Friend2Friend Wiki

(Redirected from Scripts)
Jump to: navigation, search

Scripts are one of the least important of the 7 resource types available to modules. They are chunks of XML designed to be interpreted by the F2F servicereq processing model.

Although F2F may be Turing complete (?), it is pretty cumbersome, what with not having separate variables etc. XSLT is much better suited to complex tasks, so should be handled with custom services instead. Scripts are useful to specify tasks for which it would be superfluous to have a separate service.

For example, to specify a sequence of steps to follow when the module is installed.

Personal tools