Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:confused

 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
in my design i have a class called Facede which used to controll the mode of networking and unnetworking depend on the command line argument.
i want to use a design patern with it. but i dont know which pattern shoud be used . factory ,
medior , or faced ?/
please let me know //
thanks first!!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Facede is not the right name you want to use for this class. But something like DataModeFactory, or DataAccessFactory.
And the pattern you will use is Factory.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic