Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SubClassing full Project?
Message
From
09/03/2003 06:53:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00762588
Message ID:
00763401
Views:
28
>Hi all
>
>I develop customized solutions for clients. Thus I end up with different jobs many of them based on Accounting and Inventory. There will be some odd jobs, yes.
>
>Now that I have converted my self from FPD to VFP I would like to know how to go about generating projects for Accounting another for Inventory and when required subclass them (few clients want only accounting, only inventory and few want both)
>
>Is it possible to tackle such a development effort. Becuase of OOP I guess any updates I do to the Accounting module should reflect to other projects as and when deployed.
>
>What will be my responsibilities for sync table fields for such modules?
>
>Please clarify my expectations from VFP.

I don't see how subclassing could help here. It seems much simpler to create a combined accounting & inventory system, and then disable or hide individual items, depending on some condition. The condition might be a compile-time constant (#DEFINE).

If you want to keep your executable smaller, you might try to keep class libraries separate, and then have three versions of the executable (accounting, inventory, both), that include only the forms and classes that are of interest in each case.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform