Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Client server and n-tier beginner wants to know...
Message
De
11/06/1999 10:58:02
 
 
À
11/06/1999 10:08:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00228751
Message ID:
00228794
Vues:
12
>Where should I write business rules and data validation if I want to apply some client-server and n-tier concepts?
>
>Should I use stored procedures?, Table´s field and record validation rules?
>
>I don´t need to build a robust 3 tier app, but I want to begin separating data management and UI, so I would like to know good practices wich allow future scalability.
>
>Let´s say: if the user must provide at least two fields (code + name) to be allowed to save a record, where do I put this validation?
>
>Users have been using programs where they have buttons to navigate through the records (go next, prior, first, last), and perform incremental search, and even determine the sort order. How can I provide this environment using CS and n-tier techniques?
>
>TIA.
On the record navigation, you may still use a local cursor to bring in a sub-set of data at a time, say by allowing the user to specify limited filter criteria. For example, on a customer's table, allow the user to select a letter of the alphabet and then have all customers that start with that letter downloaded to your local cursor for top-bottom, next-previous type of navigation.
I myself would steer away from this kind of Client/Server UI and only do it if the user says he must have it.
Just my 2 cents.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform