Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
N-Tier Questions: CA as Data, DE as Business Object?
Message
From
21/01/2008 09:24:07
 
 
To
21/01/2008 08:32:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01283551
Message ID:
01283610
Views:
12
Tamar,

>That could work. What I'm doing, instead, in a framework that's a work-in-progress is using the CA and DE together as the data layer and a Custom subclass for the BO. I have code in the base form class that ties the BO and the DE together.

That is a much better idea, I believe. Since the DE and CA are really the ones handling the data stuff.

Likewise, I am also into a work-in-progress framework. =)

You think it is 'safe', OK and flexible enough to assume that my data layer deliver to me data in the form of cursors and that my BO only understands cursors?

What roles/responsibilities do you assing your BO? What I have put into it are:

- record movement
- record creation
- data validation
- process updates

Anything I glaringly missed out that should be BO country?

Thanks!

Dennis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform