Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hey where's my Database?
Message
De
27/07/2000 10:44:17
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
27/07/2000 10:18:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00397553
Message ID:
00397586
Vues:
11
I don't think that separating data from an application means that you can't have tables under your application directory that store information that is specific to each installation, such as user preferences.

>Thanks Sergey
>
>This is one of the approaches I have considered.
>
>However using the Windows registery means that each workstation has to be revisited in the event of a change of location for our data.
>
>And storing it in an INI file with the application means we have not achieved 100% seperation.
>
>I guess I will end up having to use an INI file since there seems to be absolutely no other way of doing it.
>
>
>
>>>Our department has finally decided on an approach of keeping all data completely separate from the applications.
>>>
>>>This will enforce the discipline on us required for any possible upsizing that may be required later.
>>>
>>>This is fine...except if I cannot store any data of any kind with the application how do I tell my application where the database container for the application is located.
>>>
>>>At the bare minimum I must store at least one path.
>>>
>>>Or I must hardcode at least one path into my application. This of course goes against the grain of what I have practised for years.
>>>
>>>I can think of a few options none of them very tidy.
>>>
>>>How do other people deal with this situation?
>>

>>You don't have to harcode path into your application but you have to store it outside of your application.
>>You can use Windows Registry, INI file or table to store it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform