Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass value of parameters from UI to BIZ to DA
Message
 
 
To
21/01/2008 09:41:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01283283
Message ID:
01283628
Views:
17
But I am trying to use DO only for getting the "raw" data and saving the data. But I am not an expert in this field so I am still learning.

>Dmitry,
>
>Should'nt that be part of the DataLayer?
>
>Dennis
>
>
>>Dennis,
>>
>>I don't know if it is right or wrong but my BO is designed to do one more thing (in addition to validation). BO creates a bunch of index tags for the cursor that DA retrieves from the database.
>>
>>
>>>Craig,
>>>
>>>Thanks for your input. So, what's left for the BO to do? Just validation?
>>>
>>>Dennis
>>>
>>>
>>>>Locking, record creation, and saving are the responsibility of the Data layer. The business layer should have no knowledge of how to actually do any data access.
>>>>
>>>>
>>>>>Craig,
>>>>>
>>>>>What would be a typical set of responsibilities usually assigned to the BIZ OBJECT? What I put in mine are the following:
>>>>>
>>>>>- validation (the business rules) - this
>>>>>- record movement
>>>>>- record creation
>>>>>- locking (for native tables)
>>>>>- saving
>>>>>- undoing
>>>>>
>>>>>Thanks in advance.
>>>>>
>>>>>Dennis
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform