1. A method for generating a user interface, wherein an application program processes data and generates application output and wherein a user interface module processes the application output to generate output data to render on an output device, comprising: generating output data, with the user interface module, to render on the output device in response to processing statements in the user interface module; reaching a processing point, with the user interface module, where the user interface module does not include statements to generate output data; receiving, with the user interface module, an interaction object from the application program specifying data after reaching the processing point; and generating output data to render on the output device from the interaction object.