What better way to customize the framework?

A very common task it’s modify the defaults behaviours about framework.

These tutorial illustrates how custom Controller’s and Active Record’s classes.


The best place to store those custom classes it is "protected/components"?

And third classes (like Zend)?

I really need make a Yii:import and Require_Once? There would be a better way?


And when it comes to features coupled, like a WebService or just a simple Yii:Import, which you do not need to specify the "extend" class (natively inherited), how to store and use these custom classes?

Thanks! :)

I’d like to change this behaviour about Yii:Import and Require_Once. Any ideas?

In third classes, the best, is putting in a directory "vendors", like Rails and CakePHP.