Very informative post, Shantonu!!! The only drawback I see in this pattern is the no of classes that have to be created. Say for example, I need to create a reusable method for entering value in a text box, then I need 3 classes to do this 1) TextBoxInvoker 2) TextboxReceiver 3) TextBoxCommand. The number of classes become huge. Apart from that, this pattern is very good.
Perfect explanation. Thanks a lot!!
ReplyDeleteVery informative post, Shantonu!!! The only drawback I see in this pattern is the no of classes that have to be created. Say for example, I need to create a reusable method for entering value in a text box, then I need 3 classes to do this 1) TextBoxInvoker 2) TextboxReceiver 3) TextBoxCommand. The number of classes become huge. Apart from that, this pattern is very good.
ReplyDelete