Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory Objects - practical application
Message
From
14/12/2006 17:36:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/12/2006 17:07:55
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01177742
Message ID:
01177819
Views:
31
>For many things, the DataSession doesn't matter. In the example you gave, it does, so it may make sense to instantiate another one or pass the DS ID.

As Factory is such a lightweight object, I think it wouldn't hurt to instantiate one per DS, make it a Thisform.oFactory. Also, I don't see why do we have to have one factory. We can have a whole industry if we want. Nowadays even pet grooming is an "industry", so why not this.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform