Extending core classes

Hi all,

Simple question, in the interest of doing things “the right way”. I want to extend CWebApplication with something like CAmfApplication. Where in the directory structure should such classes live? I’m inclined to think under “protected/components”, but would like to be sure.

And while I’m at it - general, custom business logic classes live under “models”, correct?


Correct. You can place your classes anywhere but what you’ve mentioned is a commonly used structure.

Thanks, much appreciated!