Re: Where to put the Forms?

From: Brian Wolkowski 263-2600 <wolkowsb_at_hp.cuug.ab.ca>
Date: Fri, 27 May 1994 20:43:59 GMT
Message-ID: <WOLKOWSB.94May27144402_at_hp.cuug.ab.ca>


We keep all of our forms in there own separate directories. To make it easy to find where a certain application resides on disk we have created the a table that looks something like the following :

create table application_locations (
  application_name char(30),
  application_location char(256)
);

None of our forms directly do a "call_form". We have also created a library form that is copied/referenced by other forms which we pass the application_name that we want to call. This library form does the table lookup to see where the desired form resides and then executes the call_form with the appropriate path.

If you are running some flavor of UNIX you may use environment variables within the application_locations.application_location field. We maintain the same directory structure of our systems on our production computers as on our developement computer except that the "system root" directory is different. We just use an environment variable to indicate the root directory of the system and append the relative pathname of the application onto that.

We use this same approach for envoking the "host" cammand as well.

Comments ?

--
Later...                         e-mail: wolkowsb_at_.cuug.ab.ca
Brian R. Wolkowski                voice: (1 403) 242-7886 (home)
                                         (1 403) 263-2600 (work)
Received on Fri May 27 1994 - 22:43:59 CEST

Original text of this message