Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Factory Objects - practical application
Message
De
14/12/2006 17:36:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/12/2006 17:07:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01177742
Message ID:
01177819
Vues:
32
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform