Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

share|improve this question

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 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, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

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.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.