Replace Data Value with Object
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (Filling in some pages that are linked to, but have yet to be created (ie, I dont like red text >.>)) |
|||
Line 1: | Line 1: | ||
+ | ---- | ||
+ | <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://ojiqovam.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | ||
+ | ---- | ||
+ | =[http://ojiqovam.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> | ||
When you have an item of data that needs additional data or behaviour, for example a String representing a phone number that needs special formatting behaviour (area codes, country codes, etc) that cannot simply be added to the String. | When you have an item of data that needs additional data or behaviour, for example a String representing a phone number that needs special formatting behaviour (area codes, country codes, etc) that cannot simply be added to the String. | ||
To do this, we turn the simple data object into an object. In the case above the phone number will become an object of it's own. | To do this, we turn the simple data object into an object. In the case above the phone number will become an object of it's own. |
Revision as of 10:01, 24 November 2010
When you have an item of data that needs additional data or behaviour, for example a String representing a phone number that needs special formatting behaviour (area codes, country codes, etc) that cannot simply be added to the String.
To do this, we turn the simple data object into an object. In the case above the phone number will become an object of it's own.