--0-111537764-974310381=:5954
Content-Type: text/plain; charset=us-ascii


Ok...Quick&Dirty! 

There are more, but these are the points that jump to mind.....

 

 I like to think of CFINCLUDE as a on the fly way of pasting CFSCRIPT into my current 
page. The script compiles inline with the current documents cfml.

Benefit... has access to all vars in the current doc.

Problems... coordination of variables when using multiple sourced cfm files. ( you 
don't want a included file changing what the programmer thought was an obscure var 
that you set to different value.)

CFMODULE on the other hand is processed outside of the current document and in 
essence, the final html is returned to your page. kind of like a serverside include.

Benifit... it is isolated from your current code.

Benefit... you can specifically pass vars into it.

Problem... you must pass vars in specifically


 

  Natasha Regehr <[EMAIL PROTECTED]> wrote: 
Hi, 

I am just learning how to use fusebox so keep that in mind if my questions
seem kind of elementary to those of you who have been using fusebox for a
while. Ok, I was reading a fusebox book and it stated that using cfmodule
slows the program down, so the author suggested using cfinclude. If this is
the case, then can you explain to me when and why you would use cfmodule
instead of cfinclude?

Thank you

Natasha
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Patrick Trongo
  Sr Programmer/Analyst 
  4Anything Network (www.4anything.com)
  487 Devon Park Road Suite 204 
  Wayne, PA 19087 
  Telephone: 610-768-1444 Ext 204 
  Fax: 610-592-1094


---------------------------------
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
--0-111537764-974310381=:5954
Content-Type: text/html; charset=us-ascii

<P>Ok...Quick&amp;Dirty! </P>
<P>There&nbsp;are more, but these are the points that jump to mind.....</P>
<P>&nbsp;</P>
<P>&nbsp;I like to think of CFINCLUDE as a on the fly way of pasting CFSCRIPT 
into&nbsp;my current&nbsp;page. The script compiles inline with the current documents 
cfml.</P>
<P>Benefit... has access to all vars in the current doc.</P>
<P>Problems... coordination of variables when using multiple sourced cfm files. ( you 
don't want a included file changing what the programmer thought was an obscure var 
that you set to different value.)</P>
<P>CFMODULE on the other hand is processed outside of the current document and in 
essence, the final html is returned to your page. kind of like a serverside 
include.</P>
<P>Benifit... it is&nbsp;isolated from your current code.</P>
<P>Benefit... you can specifically pass vars into it.</P>
<P>Problem... you must pass vars in specifically</P>
<P><BR>&nbsp;</P>
<P>&nbsp; <B><I>Natasha Regehr &lt;[EMAIL PROTECTED]&gt;</I></B> wrote: <BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px 
solid">Hi, <BR><BR>I am just learning how to use fusebox so keep that in mind if my 
questions<BR>seem kind of elementary to those of you who have been using fusebox for 
a<BR>while. Ok, I was reading a fusebox book and it stated that using 
cfmodule<BR>slows the program down, so the author suggested using cfinclude. If this 
is<BR>the case, then can you explain to me when and why you would use 
cfmodule<BR>instead of cfinclude?<BR><BR>Thank 
you<BR><BR>Natasha<BR>------------------------------------------------------------------------------<BR>To
 Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&amp;body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.</BLOCKQUOTE><BR><BR>Patrick Trongo<br>  Sr Programmer/Analyst <br>  4Anything 
Network (www.4anything.com)<br>  487 Devon Park Road Suite 204 <br>  Wayne, PA 19087 
<br>  Telephone: 610-768-1444 Ext 204 <br>  Fax: 610-592-1094<p><br><hr size=1><b>Do 
You Yahoo!?</b><br>
<a href="http://calendar.yahoo.com/">Yahoo! Calendar</a> - 
Get organized for the holidays!
--0-111537764-974310381=:5954--
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to