Re: n-tier design question

Author: Allan Lindgren

Posted: 1999-11-01 at 10:13:23

<I><FONT COLOR="#663300">I want to create a user-interface like Outlook's for my phone numbers. The one described in the November FPA won't do because phones are normalized out of the main contact table in my application and not in his. So the textbox portion of the container will have to have a distinct view because each phone number will be looking at a different record in the same table. Is there a reasonable way to design the middle tier of this so that one phone business object can handle mutilple controls or is the only reasonable design to have a separate phone business object for each phone control container on the form? It seems like an awful lot of overhead for a little phone number.</FONT></I>

Pamela

What we have decided to do is to have collections of addresses and phones so we have one child bizobj for each collection and one grandchild object for the item in the collection. in other words, we have a bizob child to obizobj that displays a combobox of the phone types associated with this bizobj instance <view param>, this object has a child object that dispays this phone number of this type for this "customer" same with addresses

HTH

Allan Lindgren

akl@morningstar-healing.com

©1999 Allan Lindgren