Carl Karsten wrote: >>> Better. gets rid of the ._Attr reference.
>> That's the whole point of the underscore prefix. If you're >> referencing them, you're almost always doing something wrong. > How does my custom BO code talk to my custom Data Object code without > referencing an ._Attr? > > Pretty sure I shouldn't be touching self._dBizobj__cursors[None] either :) > I am having conflicting thoughts. If my BO is relying on custom code in the data tier, then it has/needs explicit knowledge abut how to access it. so if I add .foo() to the data tier, maybe I need to add .foo() to the middle tier that is simply the 'implementation details" on how to call .foo(): def foo(self): return self._dBizobj__cursors[None].foo() Is this a case where it isn't wrong? Carl K _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
