oh god - if we drop the whole attributes thing.... I'm going to have to
change a hell of a lot of code.... <sob>


Toby Tremayne
Code Poet and Zen Master of the Heavy Sleep
Show Ads Interactive
359 Plummer St
Port Melbourne
VIC 3207
P +61 3 9245 1247
F +61 3 9646 9814
ICQ UIN  13107913

-----Original Message-----
From: Hal Helms [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 March 2001 1:24 PM
To: Fusebox
Subject: RE: Best Pracices with CF and Fusebox course


I'm not suggesting that everyone kill their attributes vars, but I am
considering it for XFB. Consider this: these scopes are already available to
custom tags:

FORM, URL, CGI, COOKIES, REQUEST, SERVER, APPLICATION, SESSION, and CLIENT

This means there's no reason to add form and URL vars to the attributes
scope--they can already be seen by custom tags. But it gets worse. The tag
doesn't really add the variables to the attributes scope, anyway. Instead,
it just creates a variable with a dot in the name itself. Try looping over
the attributes structure and you won't find them in it. That ability is
going to be deprecated in future releases of CF (Neo for sure).

The original idea behind the attributes was to allow circuits to be called
as custom tags, but in XFB, circuits are nested so the idea of treating them
as custom tags is kind of a moot point. The one positive aspect of
FormURL2Attributes is that it prevents you from having to worry about the
difference between form and URL vars--and I do like that, but I think we're
paying a pretty high price for that.

I haven't come to a decision on how I want to handle it and I'm certainly
not telling anyone else what to do, but since you asked, those are my
current thoughts.

Hal Helms
Team Allaire
[ See www.halhelms.com <http://www.halhelms.com>  for info on training
classes ]


-----Original Message-----
From: Emilio [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:48 PM
To: Fusebox
Subject: RE: Best Pracices with CF and Fusebox course


Hal, you can't drop a bomb like that and not follow up?!?
Drop the attributes conversion?  Perhaps some background on why you'd say
that...
Is it performance?

Cheers,
Emilio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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