For one, it adds definition to the code.  It's easier to see what's going on
when the FORM or URL scope is explicity used.

For two, there are a few times when you'll have a page that could accept a
variabl via form or url.  In this case you MAY choose to leave the variable
name unscoped so that either one will be picked up by the code, but further
down in the same code you may need to distinguish between FORM or URL to
determine a course of action.

There are plenty more reasons hiding out there, but these are two I can
think of right now...  I'm sure someone will berate me for even mentioning
the second one, and to them I say "there is a time and place for everything"
;)

+-----------------------------------------------+
Bryan Love
  Database Analyst
  Macromedia Certified Professional
  Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
        - Thomas Paine, The American Crisis

"Let's Roll"
        - Todd Beamer, Flight 93



-----Original Message-----
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 12:58 PM
To: CF-Talk
Subject: Re: Called as module or include?


----- Original Message ----- 
From: "Bryan Love" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 3:45 PM
Subject: RE: Called as module or include?


> >Who is to say JSP does it right? Personally, I love having my URL/Form
> >scopes split.
>
> Amen to that!

OK, I'll bite. Why? What good does it do?

Regards,

John Paul Ashenfelter
CTO/TransitionPoint

> +-----------------------------------------------+
> Bryan Love
>   Database Analyst
>   Macromedia Certified Professional
>   Internet Application Developer
> TeleCommunication Systems
> [EMAIL PROTECTED]
> +-----------------------------------------------+
>
> "...'If there must be trouble, let it be in my day, that my child may have
> peace'..."
> - Thomas Paine, The American Crisis
>
> "Let's Roll"
> - Todd Beamer, Flight 93
>
>
>
> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2003 12:24 PM
> To: CF-Talk
> Subject: RE: Called as module or include?
>
>
> > > .... unless of course you practice the ridiculous art of converting
> > > everything to the attributes scope - as per fusebox.
> >
> > Kinda like JSP does -- request.getAttributes(). What a crazy
> > idea......
>
> Who is to say JSP does it right? Personally, I love having my URL/Form
> scopes split.
>
> ========================================================================
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
> Email    : [EMAIL PROTECTED]
> Blog     : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to