Best Coding?
Okay I have a question about using CFC's.
I'm building an app and it contains several modules. Each module has it's own CFC.
Right now I have in the application.cfm the following line:
<cfset Application.clients = createObject("component","modules.clients.cfcs.client")>
To call any function I can just use the Application.client."function"()
Now these cfc's have been getting bigger and will be getting bigger in the future.
My question is should I keep doing it this way or should I use the <cfinvoke> to call these functions.
I'm worried that the performance will take a hit. I have been looking into the MySQL procedures,
which should help out with the performance, but I'm not sure if keeping it in the application.cfm is the
right thing to do.
Anybody has some thoughts about this?
Thanks
