Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

(notes from Community Meeting held on 16/07/14)


Kettle has historically been our server-side JavaScript environment, matching Infusion on the client-side. 


The GPII components which need to adapt to being hosted locally (as part of the same server) or hosted in a distributed way (amongst a group of servers) have their interaction mediated by this dataSource API. This API is as follows:

dataSource.get(directModel, callback) - reads material held at the coordinates "directModel"

dataSource.set(directModel, model, callback) - writes material "model" to the coordinates "directModel"

The "direct model" can be seen as a JSON summary of the contents of a URL. It expresses an "index" into some set of state which can be read and written.