Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRG vs Methods
Message
 
 
À
06/07/2009 23:26:03
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01410452
Message ID:
01410455
Vues:
98
>HI all
>
>May I know the difference between using a PRG class and a non visual VCX class?
>
>If I need to write a PRG class to process data, is Session base class the most appropriate?
>
>In my method of my class, is there any difference calling a PRG and calling another method beside inheritance capability?
>
>Your advice much appreciated.
>
>Thanks & Best Regards

Hong,

If you want a class doing some data processing, then, IMHO, Session based class is the best suited for the job. I had PrivateSession class, then BusinessProcess class based on PrivateSession class, then bunch of my process classes based on BusinessProcess class at my previous job. Worked great and was quite flexible.

Using class also provides a lot of flexibility comparing to using the program (not a class) for data processing.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform