According to Allaire, CFMODULE is also faster than calling CF_tagname,
because it (the CF server) doesn't have to search through the directory tree
of custom tags for your file.  Instead, you're telling it where the file is
located.

Evan

> -----Original Message-----
> From: Jones, Matt [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 11:15 AM
> To: CF-Talk
> Subject: RE: Main differences between CFMODULE and a custom tag
>
>
> you can call custom tags with cfmodule, you pass the attributes
> the same way
> as you would with cf_, and you can do end tags with cfmodule
> we have found cfmodule to be extremely useful for identifying
> exactly which
> tag we are intending to call.  By specifying the template, rather
> than name,
> you don't get caught in any type of custom tag hierarchy problems. It also
> doesn't take much to change
> <cf_customtagname> to <cfmodule template="[relative
> path]/customtagname.cfm">
>
>
> -----Original Message-----
> From: Ryan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 9:48 AM
> To: CF-Talk
> Subject: Main differences between CFMODULE and a custom tag
>
>
> Why would you use a cfmodule over a custom tag, or a tag over
> a module? Both allow you to store shared code in a separate
> file, and then call that code and send it arguments. Maybe
> they are almost the same thing? Thanks for any help.
>
> Ryan
>
>
> ------------------------------------------------------------------
> ----------
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to