On Jul 8, 2008, at 1:48 PM, Paul McNett wrote:

> It really just depends on the paradigm you want to use. Form-based  
> makes
> a lot of sense, I'm not disparaging it. However, I tend to build at  
> the
> panel- or control- level and have very little code at the form  
> level. I
> like being more encapsulated and modular.
>
> The control doesn't "know about the bizobj" in my example, it merely
> knows that the form will know what to do.


        In that case, something like "self.Picture =  
self.Form.getMyPicture()" would be more appropriate. Forms are the  
mediators between the UI and biz layers; controls should not bypass  
the form's mediation.

-- Ed Leafe





_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to