Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Application Object example?
Message
De
24/11/1999 01:59:22
 
 
À
23/11/1999 12:15:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00294399
Message ID:
00294843
Vues:
16
Hiya Doug,

Generally speaking, in my apps I use oApp to hold properties that are global in scope (like the old PUBLIC memvars) and methods that are also global (like generating primary keys). I instance other global "application" objects by function. Anything calling external COM servers gets it's own management object.

But, my friend, sometimes I just get lazy and throw everything into poor, old oApp. On small to medium applications, there is no compelling reason not to. Now the OOP snobs will have my butt with that one :-)





>At the risk of starting another range war *g* I was wondering what the general thought was regarding where to find the best Application Object example is?
>
>Essentially, I'd like to get a little feedback regarding how various folks implement and create Application Objects.
>
>Form Managers, Security managers, etc.
>
>I'm building one of my own now and was looking for ideas and 'gotchas'.
>
>Thanks!
>
>DD
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform