Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizing memory use
Message
From
27/08/2009 05:18:50
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01420721
Message ID:
01421126
Views:
50
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform