Responding to myself (huh?), using self is a very good discipline if your
work is ever to be used by someone else. Just recently, I did some
consulting work for a company that used "default.cfm" for their initial
pages. I hate doing global search and replaces--that's too racy for my
tastes and using self just simplifies everything, enforces the essential
idea of XFB that we're dealing with ONE application (not a federation of
applications), plus it's simper to type!
Hal Helms
Team Allaire
[ See www.halhelms.com <http://www.halhelms.com> for info on training
classes ]
-----Original Message-----
From: Hal Helms [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 11:37 PM
To: Fusebox
Subject: RE: XFB questions
That's exactly right, John.
Hal Helms
Team Allaire
[ See www.halhelms.com <http://www.halhelms.com> for info on training
classes ]
-----Original Message-----
From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 7:18 PM
To: Fusebox
Subject: Re: XFB questions
> And to ask an old question yet again (because I am also lazy
> and can't find it in the archive), the only reason we use #self#
> is for unit testing, right? I'm trying to think of other reasons,
> but I can't figure any out.
I think Hal has also commented that #self# allows you to redefine the actual
fusebox on-the-fly, if such a need ever occurs. Or even to redefine it on a
template-by-template basis to one of his recent ideas of including a
XFA.onCompletion, perhaps something like
self = index.cfm?fuseaction=#xfa.onCompletion#.
We're probably all still exploring other variants on the same theme.
I think it had additional usefulness before Hal suggested the Circuits.cfm
method , since then you could potentially define #self# to be a higher level
fusebox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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