I am trying to implement an account overview module where the user will see different sub modules like his/her account balance,last 5 transactions, available list of products etc. In future, the no of sub modules shown in Account Overview page may change. So what design pattern should I use to implement this? Any suggestion
closed as not constructive by Walter, Robert Harvey, Matthieu, Mark Trapp, gnat Aug 31 '12 at 18:54
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
I would use Proxy pattern.
It allows you to define just one interface to the object and present the information you need when you need it.