Hey that's a good point, and one that could be helpful in most situations
but not all. In some environments I have worked on, this CGI variable, as
well as others, was not made available, so we need to make sure you can go
both ways.
-----Original Message-----
From: BOROVOY Noam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 5:13 AM
To: Fusebox
Subject: RE: Question: Why the change from RFA to XFA method?
What happened to using #CGI.SCRIPT_NAME# doesn't that do it better - not
even a single change to your app_globals (or MyGlobals in HalBox ;-)
Noam
----------
From: John Quarto-vonTivadar [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, 14 February 2001 8:13
To: Fusebox
Subject: Re: Question: Why the change from RFA to XFA method?
> > hey, remember when Hal converted everyone to use "#self#" or
> > "#request.self#" in CFLOCATIONs and FORM ACTIONs ? It is the
same
> > idea. You
> > give up very little but gain quite a lot.
>
> Umm, no I don't remember that.
>
> Why use #self# instead of index.cfm? Sure, it's less characters,
but I'd
> have to edit my ctrl-1 snippet to change it. Please convince me to
use
> #self# instead of index.cfm.
>
> NAT
ok, you have a client who you've already finished the job for, who
has a new
boss that decrees that all the web server default documents will be
called
"default.*" rather than "index.*". With Hal's way, one change is
made in
one place (MyGlobals.cfm). Your way, you have to reach into every
template
of the entire app
ok here is an even better idea. In a fit of madness, you want to
have have
two fuseboxes in the same directory. Both are already written, you
jsut want
them to exist in the same spot. Hal's way, his madness is easily
patronized.
One switch to one variable in one file, plus renaming one of his
index.cfm
to default.cfm, or somesuch. Your way you descend further into the
depths of
insanity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists