Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to design these in COM?
Message
 
À
04/11/2001 06:36:13
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00577198
Message ID:
00577242
Vues:
28
A good OO design tip is : A class only must do the a only work.

Separate this in server and client components, and separate the admin of licensing objects (But is good using a very basic baseclass for common interface, but encapsulate the logic in separate objects). This give more flexibility.

For example, your admin object is notified for your registration/login system. So, you can send a message for each client, or all client (for example: "Awake man! I close this app!") perform remote admin (run a backup for each client?) or things like it.

If you keep separate the login/registration system, you can (later) add compression/encrypt options and NT/2000/XP/ActiveDirectory integration (see the power?)

Chaou.
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform