I've been working _toward_ making my cms application compatible with
BlueDragon myself... My biggest issue has actually been one of poorly scoped
code on my part, using #pageid# to grab from either the form or url scope (
hey, I started all of this 5 years ago, when I first got into CF, what do
you expect :) ... The comparison doc does mention that you can't reference
form and url variables as if they were local variables, so you have to
prepend either form or scope to your variable name if for no other reason
than to set your local variable. Form and URL are also a combined scope on
BlueDragon, so form.myvar and url.myvar are the same thing, which I think is
a great idea, although I could see where it could cause problems in some
rare applications where the scope of the variable is important. In any
event, it's slow going, but I think I'm getting there...

I'm using the FuseBox trick to copy all the form and url variables to the
attributes scope and then using the attributes scope for all my passed
variables.

<cfparam name="attributes" type="struct" default="#structnew()#">
<cfset temp = StructAppend(attributes,form,false)>
<cfset temp = StructAppend(attributes,url,false)>

This is great in my case because once I get all my poorly scoped local
variables fixed up, this will work on both CF and BlueDragon -- and users on
BlueDragon and comment out or remove the second <cfset> statement to get a
small performance boost. At some point I'll probably wind up checking the
server provider and putting a <cfif> statement around the second
structappend() so that the comment will be unnecessary.

I still have some questions about wddx, but I'm mostly convinced / hopeful
it will work in both environments.

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

> Great... i think i am starting to like Blue Dragon,
> atleast they are
> receptive
> and want to listen to developers problems and issues....
> It might be time to look at other options.

> "do you have an idea for a favorite new CFML tag or
> function, but your request has fallen on deaf ears? Let me
> know what it
> is and I'll see if we can get it implemented in
> BlueDragon."

> Joe

> -----Original Message-----
> From: Vince Bonfanti [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 5:05 PM
> To: CF-Talk
> Subject: RE: BlueDragon (was RE: How is CFMX J2EE
> implemented?)


> Yep, understood. That's why we're also planning to support
> the
> GetPageContext() function (though not in the service
> pack). We're
> hopeful that if we introduce anything that's truly useful
> in the way of
> new tags or functions that Macromedia will choose to
> implement them in
> CFMX.

> Here's an thought:  That might
> give Macromedia some incentive to also implement it in
> ColdFusion.

> Vince Bonfanti
> New Atlanta Communications, LLC
> http://www.newatlanta.com

>> -----Original Message-----
>> From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, October 14, 2002 4:47 PM
>> To: CF-Talk
>> Subject: RE: BlueDragon (was RE: How is CFMX J2EE
>> implemented?)
>>
>>
>> Not that I think the idea behind the newly introduced
>> tags
>> are bad (in fact, quite the opposite) but I'm kind of
>> surprised that you're introducing new tags at all.  I
>> realize
>> that your intent with Bluedragon is probably not to be
>> "cross-platform" compatible (backwards compatible?) with
>> Macromedia's product, but this "splitting," if you will,
>> of
>> the CFML language kind of worries me.  Kind of like the
>> early
>> M$ vs. Netscape days when each company would introduce
>> their
>> own variants of HTML.
>>
>> --
>> Mosh Teitelbaum
>> evoch, LLC
>> Tel: (301) 625-9191
>> Fax: (301) 933-3651
>> Email: [EMAIL PROTECTED]
>> WWW: http://www.evoch.com/
>>


> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/index.cfm?sideb
> ar=lists&body=lists/cf_talk
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Structure your ColdFusion code with Fusebox. Get the
> official book at http://www.fusionauthority.com/bkinfo.cfm



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to