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:
00925119
Vues:
22
David,

>
>Unless you have thousands of objects the "weight" isn't all that much of a concern.
>
I agree, and I will have just a few objects.

>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 think I understand but I am not 100% sure what you mean by "design time containership of composite classes." Is it that you can drop other controls/classes into a Container? How is it important for using the class as a base for a Business Object? For my needs, the DataSession property is very important for BO since it allows to keep the data of the BO private. As I am designing a new program I have used Custom class but then realized that it does not keep the data private. So I started to look of what else I can use. Session has DataSession but you can work with it visually. I will probably still use Custom and then use a method of isolating it inside a small SessionBase.prg class, as described in another message.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform