I’ve been lurking on this list for quite a while now, and I feel pretty embarrassed for asking such an elementary question.

 

I’m thinking of creating a sort of UDF library that can be used by all my apps.

Does it make sense to create a Component that holds all the functions?  In such a case, what would an init function hold.

For example, if I have a bunch of generic Validation functions, would I need an init function for the CFC?  If so, what would it look like?

 

Also, where would I need to put the CFC on the server so that it is accessible to all my apps?

I’m thinking along the lines of custom tags, where we could just put them in the CustomTags folder and they are accessible to all.

 

Is there such a folder for CFC’s?

 

Thanks,

Ali

Reply via email to