Lazy Loading Object Design pattern

 Lazy Loading Object Design pattern

 Let’s say you have an Object which contains many properties along with a property for exposing long XML string. The long XML string is only required to be shown only a few times when you are also showing the details of the object. At this point when we are loading a list of this object to display (where by XML string will not be displayed) its not a good practice to also load the XML string in the object. Since this would take lots of extra Network bandwidth and memory space.

Read More:

http://weblogs.asp.net/vikram/archive/2008/06/16/lazy-loading-object-design-pattern.aspx

Thanks

Leave a Reply

You must be logged in to post a comment.