Aidan Whitehall wrote:
>
> > In essence, refering to variables outside the scope of a tag
> > is analogous to using global variables in other languages, something
> > that was frowned upon in the books I read and the courses I took.
> > The proper way, then, would be to explicitly pass all nece
> In essence, refering to variables outside the scope of a tag
> is analogous to using global variables in other languages, something
> that was frowned upon in the books I read and the courses I took.
> The proper way, then, would be to explicitly pass all necessary
> parameters to a tag, and el
ate: Tuesday, December 12, 2000 10:29 AM
Subject: Re: What are the recognized CF variable scopes?
>Jeff,
>
>I'm with you. When I raised this issue in December '99, Dave Watts
>pointed out that just because you can do something doesn't mean that you
>should.
>
>-D
Jeff,
I'm with you. When I raised this issue in December '99, Dave Watts
pointed out that just because you can do something doesn't mean that you
should.
-David
On Wed 06 Dec 2000 Jeffry Houser <[EMAIL PROTECTED]> wrote:
> Shouldn't custom tags be coded to be as self-contained as
> possible?
esday, December 06, 2000 1:02 PM
Subject: Re: What are the recognized CF variable scopes?
> > 1.) What is the Request scope?
>
>
/CFDOCS/Developing_Web_Applications_with_ColdFusion/07_Reusing_Code/dwa07_07
..htm
>
>
>
>
>
This is always a matter of interest in my classes, i.e. where can one find a
definitive listing. The following Allaire Knowledgebase article names many,
but leaves off a few (IMHO), including:
Attributes.
Caller.
CFHTTP.
ERROR.
CFCatch.
http://www.allaire.com/Handlers/index.cfm?ID=14192&Method=F
The more I hear people talk about this topic, the more I'm getting
curious about the request scope.
If you are using these 'local' variables that are accessible via custom
tags, doesn't that decrease the re-usability of your custom tag, if you are
counting on this 'global' variables exist
e the recognized CF variable scopes?
Tim, I came across the mentioning of request variables in the fusebox
methodology book also you can find the usage of the request variables in the
code that makes up the fusebox.org site.
I am still very confused about the usage of the request variables, t
> 1.) What is the Request scope?
/CFDOCS/Developing_Web_Applications_with_ColdFusion/07_Reusing_Code/dwa07_07.htm
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archiv
: Wednesday, December 06, 2000 8:15 AM
Subject: What are the recognized CF variable scopes?
> Folks,
>
> I have seen a mention on this list in the last couple of days something
> called the request scope for CF variables. I had never heard of it. Until
> now I had only heard of the
request variables should only be used from
page to page.
Maybe you can extract a better answer.
Justme
-Original Message-
From: Dempsey, Timothy F. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 8:16 AM
To: CF-Talk
Subject: What are the recognized CF variable scopes?
Folks
I can add in my two cents, although it probalby isn't the complete list.
The 'variables' scope is for local, or instance variables. They only
exist during the execution of the page which they are created (I.E.
with a CFSET, for example).
There is also the URL scope. (Is that a type of in
TECTED]>
Sent: Wednesday, December 06, 2000 11:15 AM
Subject: What are the recognized CF variable scopes?
> Folks,
>
> I have seen a mention on this list in the last couple of days something
> called the request scope for CF variables. I had never heard of it. Until
> now I had
Folks,
I have seen a mention on this list in the last couple of days something
called the request scope for CF variables. I had never heard of it. Until
now I had only heard of the Application, Client, Session, Form, Query, and
Attributes scopes as well as the local variable scope.
Now I have a
14 matches
Mail list logo