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:
00741540
Vues:
20
No, I am saying that binding to vfp views will be easier. The views will be managed by the middle tier so it will still be 3 tier.

>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