Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter vs Data objects.
Message
From
21/10/2009 09:22:18
Walter Meester
HoogkarspelNetherlands
 
 
To
21/10/2009 09:11:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01430032
Message ID:
01430360
Views:
73
>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.

We have a strategy that we store the SQL statements in a table and depending on the backend could have different SQL statements. We try to keep away from stored procedures as much as possible, but even in this case we could abstract away from backend specific implementations
Previous
Reply
Map
View

Click here to load this message in the networking platform