RE: Called as module or include?

2003-06-20 Thread John McCosker
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

RE: Called as module or include?

2003-06-20 Thread dwayne
unless of course you practice the ridiculous art of converting everything to the attributes scope - as per fusebox. What is so ridiculous about that? unless of course you practice the ridiculous art of converting everything to the attributes scope - as per fusebox. What

Re: Called as module or include?

2003-06-20 Thread John Paul Ashenfelter
: Matt Robertson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 6:03 PM Subject: Re: Called as module or include? So varied scopes are bad because they promote lax coding practices? I've always sort of liked the ability to look at a var and know quite a bit about

Re: Called as module or include?

2003-06-20 Thread Patricia G . L . Hall
:39 PM Subject: Re: Called as module or include? I hate trying to figure out whether an action is being caused because of a variable that could have been paramed, created by a query or sent in from a form or a url. Especially when I have to pick up an existing FB app, scoping

RE: Called as module or include?

2003-06-20 Thread Matt Robertson
-Original Message- From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 6:43 AM To: CF-Talk Subject: Re: Called as module or include? So varied scopes are bad because they promote lax coding practices? Actually, I'm saying quite the opposite

Re: Called as module or include?

2003-06-20 Thread John Quarto-vonTivadar
. - Original Message - From: Patricia G. L. Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, June 20, 2003 11:05 AM Subject: Re: Called as module or include? Not in my book. On Thursday, June 19, 2003, at 10:50 PM, John Quarto-vonTivadar wrote: it also means you've

RE: Called as module or include?

2003-06-19 Thread Bryan Love
you might try checking for the existence of the CALLER scope. cfif isdefined(caller) AND isStruct(caller) this template was called using CFMODULE cfelse this template was called using CFINCLUDE /cfif +---+ Bryan Love Database Analyst Macromedia

RE: Called as module or include?

2003-06-19 Thread Dave Watts
Is there a possibility to get to know if a template is called either via cfmodule or cfinclude? I can see the difference between standalone and cfinclude /cfmodule by executing a check with GetBaseTemplatePath but no difference between the cfmodule and cfinclude methods. I imagine you

RE: Called as module or include?

2003-06-19 Thread Bryan Love
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: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:39 AM To: CF-Talk Subject: RE: Called as module or include

RE: Called as module or include?

2003-06-19 Thread John Quarto-vonTivadar
used when the developer needs them, so any objections you'd had to the FORM/URL to ATTRIBUTES copying is moot. -Original Message- From: Bryan Love [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:49 PM To: CF-Talk Subject: RE: Called as module or include? unless of course

Re: Called as module or include?

2003-06-19 Thread John Paul Ashenfelter
- Original Message - From: Bryan Love [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:49 PM 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

RE: Called as module or include?

2003-06-19 Thread Raymond Camden
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.

RE: Called as module or include?

2003-06-19 Thread Bryan Love
] 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

Re: Called as module or include?

2003-06-19 Thread John Paul Ashenfelter
- 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

RE: Called as module or include?

2003-06-19 Thread Bryan Love
, 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

Re: Called as module or include?

2003-06-19 Thread John Paul Ashenfelter
From: Bryan Love [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:15 PM Subject: RE: Called as module or include? 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

Re: Called as module or include?

2003-06-19 Thread Matt Robertson
PROTECTED] Sent: Thursday, June 19, 2003 4:15 PM Subject: RE: Called as module or include? 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

RE: Called as module or include?

2003-06-19 Thread Dan O'Keefe
[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:15 PM Subject: RE: Called as module or include? 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

Re: Called as module or include?

2003-06-19 Thread Patricia G . L . Hall
I hate trying to figure out whether an action is being caused because of a variable that could have been paramed, created by a query or sent in from a form or a url. Especially when I have to pick up an existing FB app, scoping everything in the attributes scope has usually made more work for

Re: Called as module or include?

2003-06-19 Thread John Quarto-vonTivadar
it also means you've created a tighter coupling between templates. - Original Message - From: Patricia G. L. Hall [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 9:39 PM Subject: Re: Called as module or include? I hate trying to figure out whether