2.2.7. controllers¶
Last page update: September 22, 2015
2.2.7.1. introduction¶
The Genro controllers receive inputs and initiate a response by making calls on model objects.
We emphasize that all the controllers can be attached to every Genro object
The controllers can be divided in two groups:
2.2.7.1.1. client-side controllers¶
A client-side controller works on the client through javascript; they are:
- dataController: allow to execute javascript code
- dataFormula: allow to insert a value into a specific address of the datastore calculated through a formula
- dataScript (deprecated)
2.2.7.1.2. server-side controllers¶
A server-side controller works on the server thorugh Python; they are:
- data: used to define variables from server to client
- dataRecord: TODO
- dataRemote: synchronous rpc
- dataResource: TODO
- dataRpc: allow the client to make a call to the server to perform an action.
- dataSelection: TODO