Question
Application.cfm, CFC and CustomeTag
It's my second day as CF newbie.
In my application.cfm there are several variables being set (clients and sessions), also a custom tag is being called and then a couple of cfcs are being called as well using cfinvoke .
When I open my index.cfm (the first page on my website), on the debug screen under execution time, I see the first template being run is the application.cfm, then 2 cfcs were called, then my index.cfm and next, some cfcs were run and then after calling other cf files and other cfcs, the first custom tag is run..
If I look at the codes in application.cfm, the order is starting from some variables being set, the first Custom Tag is called and then a cfc being called, another cfc being called etc..
I know that everytime CF file is fired, the application.cfm is run first. Does CF also run any available cfc next instead of Custom Tag? because in the code I can see a custom tag is being called first before cfinvoke.
In my application.cfm there are several variables being set (clients and sessions), also a custom tag is being called and then a couple of cfcs are being called as well using cfinvoke .
When I open my index.cfm (the first page on my website), on the debug screen under execution time, I see the first template being run is the application.cfm, then 2 cfcs were called, then my index.cfm and next, some cfcs were run and then after calling other cf files and other cfcs, the first custom tag is run..
If I look at the codes in application.cfm, the order is starting from some variables being set, the first Custom Tag is called and then a cfc being called, another cfc being called etc..
I know that everytime CF file is fired, the application.cfm is run first. Does CF also run any available cfc next instead of Custom Tag? because in the code I can see a custom tag is being called first before cfinvoke.