fieldenms / tg

Trident Genesis
MIT License
14 stars 7 forks source link

Standard pre- and post-actions #126

Open 01es opened 9 years ago

01es commented 9 years ago

Pre-actions and post-actions are classed that implement contracts IPreAction and IPostAction respectively. They define what should happen at the client side before and after executing an associated action. Having a client side nature, pre- and post-actions for Web UI should emit a correct HTML5/JavaScript code, which gets integrated into a corresponding web view.

Although, pre- and post-actions can be developed at the level of a concrete application, which requires good knowledge of HTML5/JavaScript and how to integrate with Web UI framework, it is envisaged that the most frequent use cases can be provided as part of the platform's collection of ready to use pre- and post-actions.

This issues should identify and document such common cases. Separate issues should be created to cover the actual implementation of the identified pre- and post-actions.

elvin-fms commented 8 years ago

When somebody starts creating a separate issue for a standard confirmation prompt, please also update TODO references in TridentFleet, which refer to this issue to refer to the separate issue. Once the separate issue has been implemented - please address the TODO references in TridentFleet.