General information
Category:
Object Oriented Programming
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only