Hmmm...I haven't had that problem, Nate. Is your common code truly
generic--or does it have conditional statements in it, depending on what
context it's called in? My common code is completely generic, and I haven't
run into that issue. Would it help if you gave some examples of common code?

Hal Helms
== See www.ColdFusionTraining.com  for info on "Best Practices with
ColdFusion & Fusebox" training, Jan 22-25 ==


-----Original Message-----
From: Nathan Shaw [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 10:16 AM
To: Fusebox
Subject: RE: commonfiles folder


Hal,

We use this technique as well, but that folder is
getting kind of crowded. How do you determine what
files go in that folder and how do you keep it under
control?

Nate Shaw
iaffectTV.com

--- Hal Helms <[EMAIL PROTECTED]> wrote:
> There's one way to do this: I have a folder I call
> "common" that has
> snippets, pieces, even dsp files that can be used by
> any circuit.
>
> Hal Helms
> == See www.ColdFusionTraining.com for info on "Best
> Practices with
> ColdFusion & Fusebox" training, Jan 22-25 ==
>
>
> -----Original Message-----
> From: Nat Papovich [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 19, 2000 11:39 AM
> To: Fusebox
> Subject: RE: the dot notation
>
>
> That is a good idea, Dustin, and is something that
> I've tried in the past.
> I'm not sure why it didn't work out though. Maybe
> because if you ever want
> to include dsp files across multiple circuits, you
> get hosed.
>
> Hey Hal or Jeff!
> What happens if I want to include a dsp_ file from
> another circuit? Is that
> legal? Things are all wacky-screwy if that happens,
> right?
>
> NAT
>
> > -----Original Message-----
> > From: Dustin Breese [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 19, 2000 8:06 AM
> > To: Fusebox
> > Subject: RE: the dot notation
> >
> >
> > Perhaps a penny short and a few days late, but...
> >
> > What do you think about each circut app having a
> "NAME" which
> > points to the
> > directory it resides?
> >
> > For example, in my APP_GLOBALS file, I set
> > REQUEST.ROOTDIR="/" (or whatever)
> > and in my APP_LOCALS for the PRODUCTS component,
> set
> > REQUEST.PRODUCTS="#REQUEST.ROOTDIR#/products".  I
> can use
> > this var anywhere
> > I need it in the PRODUCTS component and don't have
> to worry
> > about where the
> > physical app dir is.
> >
> > So, my images would come out as <img
> > src="#REQUEST.PRODUCTS#/images/hello.gif">.
> >
> > -Dustin
> >
> >
> > > -----Original Message-----
> > > From: Marsh, Jeffrey B
> [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, December 18, 2000 10:42 AM
> > > To: Fusebox
> > > Subject: RE: the dot notation
> > >
> > >
> > > No. But Noah was an amateur ship builder. The
> point of this
> > supposedly
> > > humorous line, is that even professionals can
> get wrong and
> > amateurs can
> > > sometimes surpass the professionals. It's funny.
> I think it
> > especially
> > > applicable to software engineering. Gee wiz...
> > >
> > > ---
> > > Jeffrey B. Marsh
> > > professionals built the Titanic; amateurs built
> the Ark
> > >
> > >  -----Original Message-----
> > > From:     Bill Killillay
> [mailto:[EMAIL PROTECTED]]
> > > Sent:     Friday, December 15, 2000 1:03 PM
> > > To:       Fusebox
> > > Subject:  RE: the dot notation
> > >
> > >
> > > > > professionals built the Titanic
> > > > > amateurs built the Ark
> > > I would hardly call God an amateur or Noah for
> that matter.
> > >
> > >
> > > > They didn't sail the Ark into a Iceberg.
> > > > And it lasted 40 days and 40 nights.
> > > And EVERYBODY on it survived and walked off of
> it!
> > >
> > > > Titanic lasted 2 days.
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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

Reply via email to