Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if class is light or heavy
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00924940
Message ID:
00925026
Vues:
24
Dmitry,

Unless you have thousands of objects the "weight" isn't all that much of a concern.

I decided to use a Container for my cObject class. It has a label dropped into it so that I can change it's caption to "name" the class. Container is handly for those cases where you want to have design time containership of composite classes.

>I have read messages on UT pertaining to choosing a base class for a business object. Some people say that session class is a light class. How do you determine that and how do you determine if session class is much lighter than say custom class? I personally prefer classes that can be designed visually (unfortunately session is not one of them). But if I save a lot of memory/speed with it (session), I will have to live with it.
>
>Thank you for any input or suggestions.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform