Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if class is light or heavy
Message
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00924940
Message ID:
00925026
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform