Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizing memory use
Message
De
27/08/2009 05:18:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01420721
Message ID:
01421126
Vues:
51
>
>>I would suggest to go with a session based class. What is the main concern it's not visual? A bit harder to create properties? Or harder to add to a form (only using code)?
>
>It is everything. Work with .PRG is a PITA, especially if you have a lot of methods and properties.

It is matter of preferences. I have all my BOs based on session class and it is just very very convenient.
I end up with basically one prg (place to look) per database/project, and almost no code in interface layer (forms)
I use VCX libraries as well for interface stuff, but all 'meat' is in BO's based on DS and written inside PRG.

For me it is much easier to build and maintain afterwards.
Think 5-6 years from now and 10-15 projects to maintain. But as I said, it is matter of personal preference.
There are ways to efficiently structure and maintain projects using only visual (VCX based) framework.

my.2c
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform