RE: What are the recognized CF variable scopes?

2000-12-14 Thread Aidan Whitehall
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

Re: What are the recognized CF variable scopes?

2000-12-14 Thread Jeffry Houser
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 necessary

Re: What are the recognized CF variable scopes?

2000-12-12 Thread David Shadovitz
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? If

Re: What are the recognized CF variable scopes?

2000-12-12 Thread Jamie Keane
, 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. -David On Wed 06 Dec 2000 Jeffry Houser [EMAIL PROTECTED] wrote

Re: What are the recognized CF variable scopes?

2000-12-09 Thread Tim Dempsey
ber 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 ~~ Structure your ColdFusion code with Fuseb

Re: What are the recognized CF variable scopes?

2000-12-07 Thread Jeffrey Davis
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.

What are the recognized CF variable scopes?

2000-12-06 Thread Dempsey, Timothy F.
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

Re: What are the recognized CF variable scopes?

2000-12-06 Thread Greg Wolfinger
dnesday, 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 only heard of the Application, Client,

Re: What are the recognized CF variable scopes?

2000-12-06 Thread Jeffry Houser
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

Re: What are the recognized CF variable scopes?

2000-12-06 Thread Alex Aguilar
k" [EMAIL PROTECTED] Sent: 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 he

Re: What are the recognized CF variable scopes?

2000-12-06 Thread pan
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

RE: What are the recognized CF variable scopes?

2000-12-06 Thread Marc Schipperheyn
: What are 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

Re: What are the recognized CF variable scopes?

2000-12-06 Thread Jeffry Houser
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