Talk:Command

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by MartinvanZijl)
 
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)
+
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)
  
The example diagram is out of sync with the explanation. The text mentions an "Application", "Menu Item", but those are not in the diagram. Can someone please rectify this? --[[User:MartinvanZijl|MartinvanZijl]] 04:39, 31 August 2010 (UTC)
+
The example diagram is out of sync with the explanation. The text mentions an "Application", "Menu Item", but those are not in the diagram. Can someone please rectify this? --[[User:MartinvanZijl|MartinvanZijl]] 04:39, 31 August 2010 (UTC)
 
+
----
+
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
+
----
+
=[http://agawaradeh.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
+
----
+
=[http://agawaradeh.co.cc CLICK HERE]=
+
----
+
</div>
+

Latest revision as of 03:21, 25 November 2010

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)

The example diagram is out of sync with the explanation. The text mentions an "Application", "Menu Item", but those are not in the diagram. Can someone please rectify this? --MartinvanZijl 04:39, 31 August 2010 (UTC)