Back to EuroPLoP Program page.
Ted Foster and Liping Zhao
Design patterns provided us with a formalism for capturing frequently occurring components within our public transport object models; they gave us a language for describing these components to others; they provided us with the building bricks and framework for assembling new solutions to problems with which we had previously struggled. In this paper, we show how Role and Strategy patterns have been adapted for modelling transport objects that play multiple concurrent roles and contain multiple solutions. These patterns occur over and over again within our models. We discuss how these patterns have helped us to achieve better designed transport objects.