main logo
Subject: Re: Design question
Author: Ed Leafe
Posted: 2006/07/31 12:43:24
 
View Entire Thread
New Search


On Jul 31, 2006, at 1:38 PM, Michael Babcock wrote:

> Would you rather your UI look at a property on the bizobj interface
> for a value, or call a bizobj function to get the value? Assume
> that it's something that would only be called once or twice, not
> repeatedly (as the case would be with something in a UI.refresh
> event).
> Is there a better choice, or is this "6 of one, 1/2 dozen of another?"

The important thing is that when you create your design, you define
an interface that will not be changing and use that for all inter-
object communication. Whether it is a property or a method call is
not that important; what is important is that you don't have objects
accessing implementation details.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com






 
©2006 Ed Leafe
<-- Prior Message New Search Next Message -->