mercredi 26 août 2015

Design pattern choice for a car configurator

The task is to design a database-assisted car configurator. The user can configure the car in multiple sub windows of the application, i.e. color, engine size, optional accesorries, etc. In a central overview window the essential configuration of the car is being shown (including the total price).

It's a task from university and I'm supposed to draw a class diagram and choose a central design pattern. But which pattern? I can kinda only think of a singleton for the car, to keep one state for in the whole application. Of course there are most likely many solutions to this.

Aucun commentaire:

Enregistrer un commentaire