Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3-tier development
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00740914
Message ID:
00741354
Vues:
22
So I should never bind UI elements to table, is that what you mean?


>That works, but your life will be much simpler if your business object opens a view and your ui elements bind to that view. In the save button of your form do a BusinessObject.Save() to tableupdate the updateable view. This is Microsoft's table driven architecture.
>
>
>>I am beginner in development of 3-tired applications, so I need some help.
>>
>>I am wondering if I have figured it right as I have to.
>>When I create some business logic, I create it in a non-visual class which I put on some interface (form). Then I call from form that business object (which return some value from data object) from some control inside form class in a way that business object return value for that form.
>>
>>For example, from textbox I call line:
>>This.Value = this.parent.BusinessObject()
>>and
>>BusinessObject() contain line:
>>Return SomeValue.
>>
>>Did I get this right, am I implementing 3-tiered development in right way as I have described?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform