Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Application Object example?
Message
From
24/11/1999 01:59:22
 
 
To
23/11/1999 12:15:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00294399
Message ID:
00294843
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform