|
|
Subject:
Installing software on multiple computers but using a centralized database
Category: Computers > Programming Asked by: pat79-ga List Price: $7.50 |
Posted:
10 Apr 2004 02:17 PDT
Expires: 10 May 2004 02:17 PDT Question ID: 328032 |
Hello! I am working on a hospital management software project as a part of my diploma. For this project, we would have to install the software on multiple computers on the network..but the database would be centralized. What is the standard procedure for enabling this? Right now, the software has been written in VB with an XML database as the back-end and we are happily able to install and run the same on a computer/server (e.g. server# 1). Once this has been done, we would now want to install the software alone (i.e. without the DB) on different nodes (computers) on the network but make them access this XML database (that was previously installed on server #1), which houses the data. Looking forward to your comments/answers. Pat79 | |
| |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Installing software on multiple computers but using a centralized database
From: mathtalk-ga on 12 Apr 2004 10:34 PDT |
Hi, pat79-ga: One other suggestion: Depending on the operating system/client characteristics, it might be a good design to place the program (executable) on the network file system as well. When individual users run the program, it gets loaded into memory on their machines (they share read access to the program file, without needing to "update" the code). This design choice is good when trying to maintain a "current version" of the program common to all users. If the program is instead installed separately on a number of users' machines, then when the program does need to be revised, it means changing it on just that many machines (as opposed to replacing the shared network copy of the program). regards, mathtalk-ga |
Subject:
Re: Installing software on multiple computers but using a centralized database
From: mvapor-ga on 25 Apr 2004 21:14 PDT |
You need two installation modes: one for a client WITH database installation, and one for client-only installation. The mode that includes the database installation would ask the user to specify the location where the root folder of the xml files should be placed. It must be on a drive that is visible across the network to all workstations that will install the client part of the package. After the user specifies the location, the installation program will create the folder and related files at that location. The client-only mode will simply ask the user for the location of the root folder. Ideally, it would show a file-location dialogue to the user, so that they could browse the network to the location where the files were installed, and then simply click Ok to accept that choice. If this is not possible, the user would need to type in the full path specification of the folder. Depending on your network configuration, it might be possible for every user to type in the same thing (e.g., "\\server2\clinicaldata") but if drive letters are used, it may differ from user to user. The client installation (whether in client-only mode, or client+datbase mode) will save the specification of the location of the data file to a known, fixed location. It could be saved to the registry (if Windows), or a text file in the same folder as the program (typically named with a .INI or .Config extension). Whenever the program starts up, it reads this known file to get the location of the data files. Hope this serves to answer your question. The other comments regarding the issues involved when multiple users access the same data are relevant to your situation, but not to your question. Regards, mvapor |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |