Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3-tier development
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00740914
Message ID:
00741603
Views:
24
OK, I will take that advice.
I am beginner and I have made some (I think) 3-tier application but there is a much thing to do. I hope I will use 3-tier application development in a proper way as I should.

>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform