Within CFML the object oriented terminology used is slightly different from that used in other object oriented languages.
So let’s cover a quick summary of OO and related CFML terms:
| OO Term | CFML Term |
| Class | Component |
| Method, Message | Function |
| Parameter | Argument |
| Constructor | init() function |
And for inheritance:
| OO Term | CFML Term |
| Inherits from | Extends |
| Superclass, Parent class | Super-component, Parent component |
| Subclass, Child class | Sub-component, Child component |
If you’d like to read more details about these terms, it’s continued over here: Object Oriented Terminology
This is intended to be a summary of common OO vs CFML OO rather than a glossary of OO terms. If you think I’ve missed a term that is different in CFML from common OO please let me know. Thanks.
