Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What base class to use in VFP 9 for biz?
Message
De
18/06/2005 08:11:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01024176
Message ID:
01024582
Vues:
16
David,

> I also dropped a label into the lowest level class so that the subclasses could be named.
This was the exact way in a very large application using oodles of business objects for each app I was called in to optimize. One of the problems was, that the pure number of classes slowed the app down as soon as more than 6 forms (each a complex app of its own) were started. This was in vfp6, so in vfp>=8 the effect will be less drastic and non-linear slowdown would be starting later and rise at a slower rate. Just eliminating the label from the business base class at build time for delivery helped a lot (reducing the number of active classes by 25 - 40%), while the developer benefits were still in the version kept in SSafe. So if you expect the number of concurrently active objects to grow beyond a few thousand and/or not too current hardware is used, you might recommend this easy "optimization" <g>.

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform