Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Questions
Message
De
21/01/1999 08:53:17
 
 
À
21/01/1999 06:57:29
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00177951
Message ID:
00178428
Vues:
29
If you have a limited number of customer types and you know them all from the beginning, this may be the good approach (ie one class for each type). This also means that when a new customer type will be added, a new class must be created.

IMO, this solution is clear and it may be easier to maintain.

Vlad

>Thank you for your replies. I would understand from this that if it is possible from a design and maintenance viewpoint it is better in terms of operational speed to create famlies of classes. In other words, if I have several types of customers (cash customers, financed in house customers, sweetheart deals with finance company customers etc) I could create one family of classes to handle the creation and saving of customers and another family to handle payments, accounts receivable etc. This would split the code up and allow faster loading and execution. I am obviously new to this and I just worry that I will go overboard and really slow down the app. Should I be concerned?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform