views:

82

answers:

2

How to do it? What design patterns? Ideally would be sample code in the answer.