Loading component on demand ?

As I can understand, components classes can be included by default by modifying the components section in main.php config. However, Since it loads all classes in the folder automatically but I only need some on certain pages. The number of classes is becoming too much in my application. I’m concerned that this will affect the performance of my application if I load too many classes.

Is there a way I can custom load any component in the controller ? I don’t mean instantiating the component class but loading the class itself ONLY when needed.

Really appreciate any help.

Yii is using lazy loading, so you don’t have to worry about these issues.

I can confirm that: http://www.yiiframework.com/doc/api/1.1/CModule#getComponent-detail