![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: creating a portable schema!!! |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
Only that the *nix OSes are case sensitive and windows OSes are not.
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
|
Re: creating a portable schema!!! |
|
Super Moderator
![]() Posts: 10,639
Location: Blackpool. UK
|
For that you should read This Thread.
Two methods I use when creating a portable app is to create the queries in seperate classes for each different DB expected to be used. Then; 1/ Have a "driver" class using case (switch) statements to route the called method to the appropriate class method. You then provide a configuration file to tell the app which DB is being used. 2/ Use the directX approach to abstraction and only install the class module for the db that will be used. The configuration can then be included in the class module. Method 2 is the simplest, when you know the environment that the app will be installed in. And method 1 gives flexibility when the app is being installed for the end user to select what is available.
__________________
Chris. ->> Links are advertising NOT optimising!! <<- Indifference will be the downfall of mankind, but who cares? Code Samples | People Counting System |
|
|
|
|
|
Re: creating a portable schema!!! |
|
Junior Talker
Posts: 3
|
Thanx a lot Chris!
this is going to be a lot of help ![]() would like to trouble u in future if i get stuck somewhere ![]() |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |