vendredi 22 décembre 2017

Application - design pattern usage

I work on application which task is to create customized car. I got real data of cars parts etc saved in database. In every scene car will got, model, engine, wheel etc and price of it will be updated. At the end i need full info about car parts so I need to add every part in next scenes.

And now the question is which design pattern should I use.

Builder or decorator? Maybe both?

Aucun commentaire:

Enregistrer un commentaire