Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will the Abstract Factory handle my situation?
Message
 
To
21/01/2002 12:32:02
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00607201
Message ID:
00607861
Views:
40
Hi Paul.

My 2 cents... I would try to keep the App all together and not have different directories for each client. For Forms I would subclass the form that needs to be customized and either have an entry in the AbstractFactory that would normally default to the base form but could be different for each client or determine the name of the class using a client code somewhere stored in the data. The code in the menu for calling the form would make a call to the AbstractFactory or call a method to determine what the class to use in the DOFORM is.

HTH

Dan

>Hi Paul,
>>
>>This lets you make changes in one place for things that need to be in all versions of the application, but lets you customize them on a per-application basis.
>>
>
>Okay! I think I can put this to use sometimes. In addition, some of the base forms and reports will not be used for all three client types (i.e., the fishing lodge customers could care less about things relating to tracking costs of gamebirds and hunting reports). So, there will be totally different classes and reports in each version. I don't think the Abstarct Factory would work for these things.
>
>I suppose I could just ship one big application which includes everything and just remove access from the menu and forms (which would have to have buttons removed or disabled that access these things).
>
>But here is what my brain can't get past right now with the framework: I use Quick Start to create a new application, develop it, modify it, Abstract Factory it, .... all directly in that project created by QS. I now have my base application. I get a new client and he needs some customization. Now what? Do I just copy the base directories into another folder and customize it (since I can't use QS any longer to do this)? I certainly do not want to mess up my base application.
>
>Right now (w/ Access) we have a folder for the base version, and individual folders for each client (we just copy the base and modify it as we need to). Will this work with the framework?
>
>Thanks again,
>
>-paul w.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform