All CFCs inherit component.cfc
This is a pretty cool feature built in to ColdFusion that I'll wager many people don't know about. I had certainly never hear of it until this morning. Did you know that ColdFusion has a built in component.cfc component that is automatically inherited by all CFCs on your server? To quote the Adobe documentation:
Note: When you install a newer version of ColdFusion, the installation procedure replaces the existing component.cfc file with a new version. Therefore, before upgrading, save any code that you have added to the component.cfc file, and then copy the code into the new component.cfc file.
I thought this might be something new in CF 9, but as it turns out it's available as far back as CF 6.
I like the idea of having an automatically inherited CFC, however I'm not that crazy about it being located in the server files instead of the actual application code. I realize it's intended to be more of a global server tool, to be used across all applications running on that server instance, but something about it being "out of site" just bugs me.
What would be really cool is if something like this were available on a per application level, where you can have a Component.cfc just like you do Application.cfc. Whatever is in your Component.cfc automatically gets inherited by all CFCs in your application. This would be great for stuff like error handling functions or setting variables (like datasources) instead of constantly having to pass these in to your CFCs.
So, who do I have to pester to get a feature request in for CF X?


It might appear like a convenient place to do global stuff, but really all those things, such as error handling, global variables are better done elsewhere IMHO.
You do, what's stoping you from creating a BaseBean.cfc file that all other cfc's (or just the ones you want! more control already see...) can inherit from?