Instantiating a ChangeApplier
Instantiating a ChangeApplier is extremely simple.
var applier = fluid.makeChangeApplier(model);
var applier = fluid.makeChangeApplier(model, options);
Please see Options below for more information about the new
options parameter. Note that this new parameter is independent of the new Transaction support (which also uses options).
model. Therefore to establish agreement amongst model citizens and appliers about which model is being talked about, this object handle must be preserved, whatever happens to the object tree beneath it. The Fluid base framework contains various utility functions which help to make this easy - for example
is a call which unlinks all properties from the supplied model, preparing it for a wholesale change. A corresponding useful call is