Talk:Command

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: I am wondering if this pattern includes also a Strategy pattern for the modeling of the Command objects, since each command object pretty much is just a different implementation of the...)
 
Line 1: Line 1:
 
I am wondering if this pattern includes also a [[Strategy]] pattern for the modeling of the Command objects, since each command object pretty much is just a different implementation of the execute()-method?--[[User:Dominic Winkler|Dom]] 03:41, 4 October 2008 (UTC)
 
I am wondering if this pattern includes also a [[Strategy]] pattern for the modeling of the Command objects, since each command object pretty much is just a different implementation of the execute()-method?--[[User:Dominic Winkler|Dom]] 03:41, 4 October 2008 (UTC)
 +
 +
Hey Dom, I was just reading the usage part where it says: "Sometimes you need to issue a request to an object without even knowing anything about the requested operation or the receiving object itself." I think this is how it differs from the [[Strategy]] pattern, because the strategy context/client knows what each method should do.  --[[User:Elliot Fisher|Elliot Fisher]] 03:52, 4 October 2008 (UTC)

Revision as of 03:52, 4 October 2008

I am wondering if this pattern includes also a Strategy pattern for the modeling of the Command objects, since each command object pretty much is just a different implementation of the execute()-method?--Dom 03:41, 4 October 2008 (UTC)

Hey Dom, I was just reading the usage part where it says: "Sometimes you need to issue a request to an object without even knowing anything about the requested operation or the receiving object itself." I think this is how it differs from the Strategy pattern, because the strategy context/client knows what each method should do. --Elliot Fisher 03:52, 4 October 2008 (UTC)

Personal tools