I really like CFC's in CFMX and am almost done rewriting my site to use CFC's to encapsulate the core functionality. I'm only using the basic features of CFC's, for lack of experience or understanding of some of the more advanced features (waiting for Ben's Book!).
So, I'm just curious if what I'm doing is acceptable practice and if there is some room for improvement (there always is). I essentially have a several action pages which use the <cfinvoke> syntax to call approx. 6 cfc's in a sequence while performing a small amount of processing inbetween. Each call used the <cfinvoke> tag. Within some of the CFC's , I have calls to other CFC's. Is this "okay"? I have noticed that calling <cfinvoke> seems to be a bit slow. I wrapped the contents of a CFC in a timer script and got 0-10 milliseconds consistently. Wrapping the timer script around the same CFC, but including the <cfinvoke> statement returned between 30-70 milliseconds. Is that normal? Thanks for the input, I'm really looking forward to Forta's book and I'm sure some great cf component details. Brook ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

