Script

From Friend2Friend Wiki
Jump to: navigation, search
(Created page with '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 mo…')
 
Line 3: Line 3:
  
 
Although F2F may be Turing complete (?), it is pretty cumbersome, what with not having separate variables etc.
 
Although F2F may be Turing complete (?), it is pretty cumbersome, what with not having separate variables etc.
Complex tasks can be achieved more efficiently using XSL, so should be handled with custom [[services]] instead.
+
[[XSLT]] is much better suited to complex tasks, so should be handled with custom [[service]]s instead.
Scripts are useful, to specify tasks for which it would be superfluous to have a separate service.
+
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.
 
For example, to specify a sequence of steps to follow when the module is installed.

Revision as of 07:15, 4 October 2009

Personal tools