Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Will the Abstract Factory handle my situation?
Message
De
21/01/2002 17:33:32
Paul Williamson
Williamson Enterprises, Inc.
Livingston, Montana, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00607201
Message ID:
00608060
Vues:
26
Hi Dan,

>
>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.
>

Interesting. Sounds like I am going to end up with one gigantic "base", consisting of every clients changed or customized forms, programs, and reports. Right now we have our three major "bases" spread out over about 80 clients. I hope to at least duplicate that after I get it rewritten into VFP 7 (or heck, 8 ro 9 by the time I get finished rewriting it!) :-)

Thanks Dan,

-paul

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform