All depends on how your setting the title and other header info. I have sub-includes per section that see the section and uses a switch to put the right header info in place. For the lists, the header comes from the DB anyway so nothing passed. My issue against custom tags is that they are a separate cf 'instance' which is segmented from the calling page. This means that it has all of the CGI, form, url, etc. variables set for the page are duplicated for this new 'instance'. More memory usage. If all I need is to pass in a specific variable, I can just do a CFSET before the CFINCLUDE. The choice is a set before the include which is part of the calling page or a new page which has lots of data passed into it. I'm for the first. I only use custom tags when I really want a segmented module call.
> but that limits you greatly, one reason I would use cfmodule is to be able > to set variables and attributes such as title easier which is essential > for search engines. > > ~Dave the disruptor~ > I forgot what I was gunna put here, Will woulda stole it anyways! > > ---------------------------------------- > From: [EMAIL PROTECTED] (Michael Dinowitz) > Sent: Sunday, February 12, 2006 5:46 PM > To: CF-Talk <[email protected]> > Subject: Re: page layout: cfmodule vs customtags > > Personally, I use CFINCLUDEs for most of my layout. Less overhead, though > less of that nice clean variable passing that custom tags/cfmodules have. > I've even started using CFCs to hold some 'pods' of content that I use in > various places. This idea'll start a firestorm from those who say CFCs > should never output, but they're wrong anyway. :) > >>I been using cfmodule for my page layouts but am making my current project >>with customtags am curious what your opinions are on each and why you'd >>pick one over the other. >> >> ~Dave the disruptor~ >> I forgot what I was gunna put here, Will woulda stole it anyways! >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232076 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

