Question
CFC VS CFML - Once and for all
Hi Everyone,
From what I have gathered the main advantages of using cfc's are in the code organization and code reuse. It seems certain that the same code written in plain cfml will run faster than one in which calls are made to cfc methods.
Even if I instantiate a cfc and persist it in the application/server scope, the plain cfml code runs faster than the one using the cfc approach. Am I missing something here or does the OOP path definitely has a performance handicap.
Thanks for your inputs!
S
From what I have gathered the main advantages of using cfc's are in the code organization and code reuse. It seems certain that the same code written in plain cfml will run faster than one in which calls are made to cfc methods.
Even if I instantiate a cfc and persist it in the application/server scope, the plain cfml code runs faster than the one using the cfc approach. Am I missing something here or does the OOP path definitely has a performance handicap.
Thanks for your inputs!
S
