Refactoring model-view-controller

  • Authors:
  • Stuart Hansen;Timothy V. Fossum

  • Affiliations:
  • University of Wisconsin - Parkside, Kenosha, WI;SUNY Potsdam, Potsdam, NY

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Model-view-controller (MVC) is an important architectural design pattern that frequently does not receive the attention it deserves. It is generally treated as a prescriptive design pattern, where students are taught to use three different categories of objects to construct GUI programs. There are subtle and important aspects of MVC that anyone developing GUIs should know. We approach these issues in our classes by taking relatively simple GUI programs and refactoring them. Our emphasis is on examining the strengths and tradeoffs involved with the various design decisions. We illustrate our approach in this paper using a simulated stopwatch.