Tuesday, March 14, 2006 12:27 AM
(Q) How a prototype pattern can be used to eliminate parallel creator class hierachies?. Can anybody explain this with an example.
(Q) In GOF book, Command pattern is defined as follows.
Encapsulate a request as a object. This allows you to parameterize clients with different request.
I think it should be encapsulate request handler as a object because a command object is a request handler.
Please let me know in case i am wrong.