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