Separate Query from Modifier
From CSSEMediaWiki
(Difference between revisions)
Line 5: | Line 5: | ||
''Create two methods, one for the query and for the modification.''" | ''Create two methods, one for the query and for the modification.''" | ||
− | ==See also== | + | >==See also== |
[[Command query separation]] | [[Command query separation]] | ||
+ | |||
+ | ---- | ||
+ | <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://ypivotuhuno.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | ||
+ | ---- | ||
+ | =[http://ypivotuhuno.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 04:03, 18 November 2010
Straight from Martin Fowler 1999:
"You have a method that returns a value and also changes the state of an object.
Create two methods, one for the query and for the modification."
>==See also== Command query separation