Controlling the 3T administration
The TTT.controller.AdminController
ties together the views and implements the many actions that are possible in this user interface. You must download the source code to see the complete definition of this controller as it is not reproduced completely within the following text.
The AdminController
has references to the four stores required for processing actions. Each store is reloaded after an update
or delete
action to ensure the store is in sync with the database. For multiuser applications, this is an important point to consider; can view data be changed by a different user during the lifetime of a session? Unlike the task log interface, where data belongs to the user in the session, the 3T administration module may be actively used by different users at the same time.
Note
It is beyond the scope of this book to discuss strategies for data integrity in multiuser environments. This is usually achieved through the use of per record timestamps that indicate...