Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is too many .VCX is too many?
Message
From
07/03/2011 20:12:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01502837
Message ID:
01502875
Views:
61
>Hi,
>
>I am always looking for better way to organize the libraries of my project. And now I am thinking of a better way to keep BIZ objects. I have a BIZ object for each table of the application (approximately 80 tables). I am thinking that a better way would be to have a separate .VCX library file for each BIZ object. But then I would end up having approximately 80 more .VCX files in my project. What are the downsides (if any) of having so many .VCX files in the project?
>
>TIA.

In my experience it is better to have "too many" vcx than too many classes in one VCX. Now when I look back into older projects where I have some of those "monster" vcx with more than 10 classes (some can have over 30 classes!) I really regret this.

Because of the limitations of the VFP project manager (missing folder structure) the key is naming conventions. What I do it to group closeley related vcx together and to use the underscore to separate the names, just as you would use a folder structure:

audit_actions.vcx
audit_changes.vcx
audit_interfaces.vcx
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform