Increasing the automation of a toolkit without reducing its abstraction and user-interface flexibility

  • Authors:
  • Prasun Dewan

  • Affiliations:
  • University of North Carolina, Chapel Hill, NC, USA

  • Venue:
  • Proceedings of the 2nd ACM SIGCHI symposium on Engineering interactive computing systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The apparent tradeoff between user-interface automation and abstraction and user-interface flexibility can be overcome using two key ideas. (1) It is possible to automate several common aspects of a user-interface without controlling its appearance. (2) By following well established programming principles, developers can provide user-interface tools with information needed for such automation. These ideas are used in a new approach that assumes that programmers (a) encapsulate the semantics of interactive applications in model objects, (b) use consistent ways to relate signatures of related methods, (c) define method preconditions, and (d) use annotations for documentation. It uses these principles to automate (a) binding of input events to synchronous and asynchronous invocation of model methods, (b) syntactic and semantic validation of user input, (c) binding of model state to display state, (c) undo/redo, and (d) dynamic enabling/disabling of display components. The result is an approach for increasing the automation of UI toolkits without reducing their abstraction and user-interface flexibility