Once you are ready to use your CFCs, you need to access the methods placed within. There are two ways to access a CFC:
When you instantiate a CFC, you create an instance of the component. This instance preserves the data within the CFC for as long as it exists. You would typically create an instance of a component at the top of the page. By doing so, you would have access to its methods and functions on the entire page, without having to create a new instance for each call.
There are three methods available to you to create an instance of the CFC:
As used in our earlier examples, ...