Model-View-Controller is a standard design pattern in modern software development.
Dividing view components from controller scripts makes the code easier to maintain and enables developers to test controller functions with external test frameworks.
In OpenWGA the "view component" is the TML module that renders the page (or part of it). Until now this TML often also contains script code (the "controller") nessesarry to render the TML module. The new module controller concept in OpenWGA 7.2 let you move your controller code into a separate TMLScript module. This makes the TML itself cleaner and easier to understand and makes the
script methods testable by test frameworks. It also may improve the
performance of TML modules.