Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter vs Data objects.
Message
From
21/10/2009 09:11:13
 
 
To
21/10/2009 07:46:29
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01430032
Message ID:
01430354
Views:
83
Got it.

There is one problem I see with that. You have to keep the SQL as generic as possible, which means it can't take advantage of things like Stored Procs and other performance advantages one platform may have over another. I prefer to write specific code for the platform and have the same API to each.

>Maybe I was not clear.
>
>We've got the following layers:
>
>GUI
>-----
>BIZZOBJECTS
>DATA LAYER
>-----
>DATABASE
>
>The bizz objects operate on cursors, but also provides data objects in case a web application wants to use this bizzobject. So for the desktop application we can use the cursors directly (2tier), for an outside application they have to do with the data-objects (3+ tier).
>
>In the data layer I want to use cursoradapters to abstract away from backend specifics.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform