Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Object Best Practices 2
Message
De
29/07/2011 22:49:26
 
 
À
29/07/2011 21:55:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01519662
Message ID:
01519676
Vues:
99
This message has been marked as the solution to the initial question of the thread.
Lots of extra code. Every method and property you want to expose needs code in the application object to get to it. Add a method, add code to the application object. All that extra code adds the possibility of extra bugs.

>Christian,
>
>I will try that 'trick'. Thanks.
>
>So, I take it that you also prefer the first option. What are the pitfalls of using the 2nd option, that of providing an 'interface' instead of allowing 'direct access' to the member object?
>
>Dennis
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform