Elliot Russo wrote:
can someone point me to some discussion or or outline the limitations of
using an includes inside a component method.

Obvious ones I have found
1. cfargument and cfreturn need to stay in cfc
2. var declarations too
3. arguments scope available now in 6.1

Not sure these are limitations. I think you can sort of get around 1&2 if you include the whole function in the include.


Generally I use an include for the guts of the function if it is a big function. I leave it in the CFC if it is small. Either way I don't think it has any real impact on functionality or performance -- it's more a coding style and preference thing. Personally I like the approach as I think it makes it easier to see what is going on.

-- geoff
http://www.daemon.com.au/


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to