app_server is supposed to hold all your machine and site dependent code, mostly
constants. For example, if your development site uses the datasource "DevDB" and your
live site uses
"LiveDB", you would have a line in your app_server that says
<CFSET request.mainDSN = "DevDB">
or LiveDB for the live server. That way when you move code to a new machine, there's
only one file to worry about.
Josh Diehl
Jeffrey Marsh wrote:
> What's an app_server.cfm file?
>
> --
> Jeffrey B. Marsh
> Amateurs built the Ark.
> Professionals built the Titanic.
>
> -----Original Message-----
> From: Jim Priest [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 7:29 AM
> To: Fusebox
> Subject: fusebox - moving from NT to Unix
>
> I'm developing my first Fusebox app (and it's going well!).
>
> We do all our development on Windows 2000, and the original host for
> this site was going to be NT, but now it looks like that might change to a
> Linux/Unix box (love those mid-project changes).
>
> I'm thinking the app_server.cfm file will make some of the path issues
> easier,
> and I'm wondering if anyone else on the list has any other
> advice/suggestions to make this as painless as possible. :)
>
> Thanks
> Jim Priest
>
> ----------------------------------------------------------------------------
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> ------------------------------------------------------------------------------
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.