Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter vs Data objects.
Message
De
21/10/2009 09:11:13
 
 
À
21/10/2009 07:46:29
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01430032
Message ID:
01430354
Vues:
82
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform