BO selection Matrix

BO selection Matrix

Old forum URL: forums.lhotka.net/forums/t/1502.aspx


Sarosh posted on Monday, October 16, 2006

Hi!

Is there some sort of a standard or a guideline/matrix in selecting the best BO to use in a given setup?

e.g.

If  the UI is grid based (Editable DatagridView) then which is the best BO(s) to use (BusinessBase and BusinessListBase)

If used in a dropdowncombo (NameValueList) etc.

Sarosh

 

ajj3085 replied on Monday, October 16, 2006

Yes, your use cases, which should not mention the UI at all.

The use cases describe how the system should function.  The system should function the same way regardless of the UI that's using the objects.

Typically though you end up using a grid when working with a BusinessListBase, and dropdown boxes usually use something deriving from NameValueList.  Notice the wording though; the type of BO helps decide which UI component to use, not the other way around.

HTH
Andy

Sarosh replied on Monday, October 16, 2006

Hi!

Yes I agree with that a 100% but like you mentioned  "the type of  BO helps decide which UI component to use" and that's what I am looking for.

e.g.

 BusinessListBase and BusinessBase -> DataGridView (BusinessListBase for the collection and BusinessBase for each row)

NameValueList -> Dropdown combo boxes

 

Sarosh

ajj3085 replied on Monday, October 16, 2006

Yes, that'd be right.  Usually BLBs are displayed in grids, NVL usually end up in dropdowns..

Copyright (c) Marimer LLC